@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEffectiveSettings()
Determines whether to return the effective settings.
|
Integer |
getMaxResults()
The maximum number of account setting results returned by
ListAccountSettings in paginated output. |
String |
getName()
The name of the account setting you want to list the 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 a user, role, or the root user.
|
String |
getValue()
The value of the account settings to filter results with.
|
int |
hashCode() |
Boolean |
isEffectiveSettings()
Determines whether to return the effective settings.
|
void |
setEffectiveSettings(Boolean effectiveSettings)
Determines 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 name of the account setting you want to list the 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 a user, role, or the root user.
|
void |
setValue(String value)
The value of the account settings to filter results with.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountSettingsRequest |
withEffectiveSettings(Boolean effectiveSettings)
Determines 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 name of the account setting you want to list the settings for.
|
ListAccountSettingsRequest |
withName(String name)
The name of the account setting you want to list the 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 a user, role, or the root user.
|
ListAccountSettingsRequest |
withValue(String value)
The value of the account settings to filter results with.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setName(String name)
The name of the account setting you want to list the settings for.
name
- The name of the account setting you want to list the settings for.SettingName
public String getName()
The name of the account setting you want to list the settings for.
SettingName
public ListAccountSettingsRequest withName(String name)
The name of the account setting you want to list the settings for.
name
- The name of the account setting you want to list the settings for.SettingName
public ListAccountSettingsRequest withName(SettingName name)
The name of the account setting you want to list the settings for.
name
- The name of the account setting you want to list the settings for.SettingName
public void setValue(String value)
The value of the account settings to filter results with. You must also specify an account setting name to use this parameter.
value
- The value of the account settings to filter results with. You must also specify an account setting name to
use this parameter.public String getValue()
The value of the account settings to filter results with. You must also specify an account setting name to use this parameter.
public ListAccountSettingsRequest withValue(String value)
The value of the account settings to filter results with. You must also specify an account setting name to use this parameter.
value
- The value of the account settings to filter results with. 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 a user, role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
principalArn
- The ARN of the principal, which can be a user, role, or the root user. If this field is omitted, the
account settings are listed only for the authenticated user. Federated users assume the account setting of the root user and can't have explicit account settings set for them.
public String getPrincipalArn()
The ARN of the principal, which can be a user, role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
public ListAccountSettingsRequest withPrincipalArn(String principalArn)
The ARN of the principal, which can be a user, role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
principalArn
- The ARN of the principal, which can be a user, role, or the root user. If this field is omitted, the
account settings are listed only for the authenticated user. Federated users assume the account setting of the root user and can't have explicit account settings set for them.
public void setEffectiveSettings(Boolean effectiveSettings)
Determines 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're set. Otherwise, no account settings are
returned.
effectiveSettings
- Determines 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're set. Otherwise, no account
settings are returned.public Boolean getEffectiveSettings()
Determines 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're 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're set. Otherwise, no account
settings are returned.public ListAccountSettingsRequest withEffectiveSettings(Boolean effectiveSettings)
Determines 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're set. Otherwise, no account settings are
returned.
effectiveSettings
- Determines 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're set. Otherwise, no account
settings are returned.public Boolean isEffectiveSettings()
Determines 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're 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're 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's 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's 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's 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's 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's 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's 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 isn't 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 isn't 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 isn't 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 isn't 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 isn't 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 isn't used,
then ListAccountSettings
returns up to 10 results and a nextToken
value if
applicable.public String toString()
toString
in class Object
Object.toString()
public ListAccountSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()