@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListAccountSettingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListAccountSettingsRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEffectiveSettings()
Specifies whether to return the effective settings.
|
Integer |
getMaxResults()
The maximum number of account setting results returned by
ListAccountSettings in paginated output. |
String |
getName()
The resource name you want to list the account settings for.
|
String |
getNextToken()
The
nextToken value returned from a ListAccountSettings request indicating that more
results are available to fulfill the request and further calls will be needed. |
String |
getPrincipalArn()
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
String |
getValue()
The value of the account settings with which to filter results.
|
int |
hashCode() |
Boolean |
isEffectiveSettings()
Specifies whether to return the effective settings.
|
void |
setEffectiveSettings(Boolean effectiveSettings)
Specifies whether to return the effective settings.
|
void |
setMaxResults(Integer maxResults)
The maximum number of account setting results returned by
ListAccountSettings in paginated output. |
void |
setName(String name)
The resource name you want to list the account settings for.
|
void |
setNextToken(String nextToken)
The
nextToken value returned from a ListAccountSettings request indicating that more
results are available to fulfill the request and further calls will be needed. |
void |
setPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
void |
setValue(String value)
The value of the account settings with which to filter results.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountSettingsRequest |
withEffectiveSettings(Boolean effectiveSettings)
Specifies whether to return the effective settings.
|
ListAccountSettingsRequest |
withMaxResults(Integer maxResults)
The maximum number of account setting results returned by
ListAccountSettings in paginated output. |
ListAccountSettingsRequest |
withName(SettingName name)
The resource name you want to list the account settings for.
|
ListAccountSettingsRequest |
withName(String name)
The resource name you want to list the account settings for.
|
ListAccountSettingsRequest |
withNextToken(String nextToken)
The
nextToken value returned from a ListAccountSettings request indicating that more
results are available to fulfill the request and further calls will be needed. |
ListAccountSettingsRequest |
withPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
ListAccountSettingsRequest |
withValue(String value)
The value of the account settings with which to filter results.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The resource name you want to list the account settings for.
name - The resource name you want to list the account settings for.SettingNamepublic String getName()
The resource name you want to list the account settings for.
SettingNamepublic ListAccountSettingsRequest withName(String name)
The resource name you want to list the account settings for.
name - The resource name you want to list the account settings for.SettingNamepublic ListAccountSettingsRequest withName(SettingName name)
The resource name you want to list the account settings for.
name - The resource name you want to list the account settings for.SettingNamepublic void setValue(String value)
The value of the account settings with which to filter results. You must also specify an account setting name to use this parameter.
value - The value of the account settings with which to filter results. You must also specify an account setting
name to use this parameter.public String getValue()
The value of the account settings with which to filter results. You must also specify an account setting name to use this parameter.
public ListAccountSettingsRequest withValue(String value)
The value of the account settings with which to filter results. You must also specify an account setting name to use this parameter.
value - The value of the account settings with which to filter results. You must also specify an account setting
name to use this parameter.public void setPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.
principalArn - The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted,
the account settings are listed only for the authenticated user.public String getPrincipalArn()
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.
public ListAccountSettingsRequest withPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.
principalArn - The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted,
the account settings are listed only for the authenticated user.public void setEffectiveSettings(Boolean effectiveSettings)
Specifies whether to return the effective settings. If true, the account settings for the root user
or the default setting for the principalArn are returned. If false, the account
settings for the principalArn are returned if they are set. Otherwise, no account settings are
returned.
effectiveSettings - Specifies whether to return the effective settings. If true, the account settings for the
root user or the default setting for the principalArn are returned. If false,
the account settings for the principalArn are returned if they are set. Otherwise, no account
settings are returned.public Boolean getEffectiveSettings()
Specifies whether to return the effective settings. If true, the account settings for the root user
or the default setting for the principalArn are returned. If false, the account
settings for the principalArn are returned if they are set. Otherwise, no account settings are
returned.
true, the account settings for the
root user or the default setting for the principalArn are returned. If false,
the account settings for the principalArn are returned if they are set. Otherwise, no
account settings are returned.public ListAccountSettingsRequest withEffectiveSettings(Boolean effectiveSettings)
Specifies whether to return the effective settings. If true, the account settings for the root user
or the default setting for the principalArn are returned. If false, the account
settings for the principalArn are returned if they are set. Otherwise, no account settings are
returned.
effectiveSettings - Specifies whether to return the effective settings. If true, the account settings for the
root user or the default setting for the principalArn are returned. If false,
the account settings for the principalArn are returned if they are set. Otherwise, no account
settings are returned.public Boolean isEffectiveSettings()
Specifies whether to return the effective settings. If true, the account settings for the root user
or the default setting for the principalArn are returned. If false, the account
settings for the principalArn are returned if they are set. Otherwise, no account settings are
returned.
true, the account settings for the
root user or the default setting for the principalArn are returned. If false,
the account settings for the principalArn are returned if they are set. Otherwise, no
account settings are returned.public void setNextToken(String nextToken)
The nextToken value returned from a ListAccountSettings request indicating that more
results are available to fulfill the request and further calls will be needed. If maxResults was
provided, it is possible the number of results to be fewer than maxResults.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken - The nextToken value returned from a ListAccountSettings request indicating that
more results are available to fulfill the request and further calls will be needed. If
maxResults was provided, it is possible the number of results to be fewer than
maxResults. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken value returned from a ListAccountSettings request indicating that more
results are available to fulfill the request and further calls will be needed. If maxResults was
provided, it is possible the number of results to be fewer than maxResults.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken value returned from a ListAccountSettings request indicating that
more results are available to fulfill the request and further calls will be needed. If
maxResults was provided, it is possible the number of results to be fewer than
maxResults. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public ListAccountSettingsRequest withNextToken(String nextToken)
The nextToken value returned from a ListAccountSettings request indicating that more
results are available to fulfill the request and further calls will be needed. If maxResults was
provided, it is possible the number of results to be fewer than maxResults.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken - The nextToken value returned from a ListAccountSettings request indicating that
more results are available to fulfill the request and further calls will be needed. If
maxResults was provided, it is possible the number of results to be fewer than
maxResults. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public void setMaxResults(Integer maxResults)
The maximum number of account setting results returned by ListAccountSettings in paginated output.
When this parameter is used, ListAccountSettings only returns maxResults results in a
single page along with a nextToken response element. The remaining results of the initial request
can be seen by sending another ListAccountSettings request with the returned nextToken
value. This value can be between 1 and 10. If this parameter is not used, then ListAccountSettings
returns up to 10 results and a nextToken value if applicable.
maxResults - The maximum number of account setting results returned by ListAccountSettings in paginated
output. When this parameter is used, ListAccountSettings only returns maxResults
results in a single page along with a nextToken response element. The remaining results of
the initial request can be seen by sending another ListAccountSettings request with the
returned nextToken value. This value can be between 1 and 10. If this parameter is not used,
then ListAccountSettings returns up to 10 results and a nextToken value if
applicable.public Integer getMaxResults()
The maximum number of account setting results returned by ListAccountSettings in paginated output.
When this parameter is used, ListAccountSettings only returns maxResults results in a
single page along with a nextToken response element. The remaining results of the initial request
can be seen by sending another ListAccountSettings request with the returned nextToken
value. This value can be between 1 and 10. If this parameter is not used, then ListAccountSettings
returns up to 10 results and a nextToken value if applicable.
ListAccountSettings in paginated
output. When this parameter is used, ListAccountSettings only returns
maxResults results in a single page along with a nextToken response element.
The remaining results of the initial request can be seen by sending another
ListAccountSettings request with the returned nextToken value. This value can
be between 1 and 10. If this parameter is not used, then ListAccountSettings returns up to
10 results and a nextToken value if applicable.public ListAccountSettingsRequest withMaxResults(Integer maxResults)
The maximum number of account setting results returned by ListAccountSettings in paginated output.
When this parameter is used, ListAccountSettings only returns maxResults results in a
single page along with a nextToken response element. The remaining results of the initial request
can be seen by sending another ListAccountSettings request with the returned nextToken
value. This value can be between 1 and 10. If this parameter is not used, then ListAccountSettings
returns up to 10 results and a nextToken value if applicable.
maxResults - The maximum number of account setting results returned by ListAccountSettings in paginated
output. When this parameter is used, ListAccountSettings only returns maxResults
results in a single page along with a nextToken response element. The remaining results of
the initial request can be seen by sending another ListAccountSettings request with the
returned nextToken value. This value can be between 1 and 10. If this parameter is not used,
then ListAccountSettings returns up to 10 results and a nextToken value if
applicable.public String toString()
toString in class ObjectObject.toString()public ListAccountSettingsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.