@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountSettingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccountSettingsResult() |
Modifier and Type | Method and Description |
---|---|
ListAccountSettingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future ListAccountSettings request. |
List<Setting> |
getSettings()
The account settings for the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListAccountSettings request. |
void |
setSettings(Collection<Setting> settings)
The account settings for the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountSettingsResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListAccountSettings request. |
ListAccountSettingsResult |
withSettings(Collection<Setting> settings)
The account settings for the resource.
|
ListAccountSettingsResult |
withSettings(Setting... settings)
The account settings for the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Setting> getSettings()
The account settings for the resource.
public void setSettings(Collection<Setting> settings)
The account settings for the resource.
settings
- The account settings for the resource.public ListAccountSettingsResult withSettings(Setting... settings)
The account settings for the resource.
NOTE: This method appends the values to the existing list (if any). Use
setSettings(java.util.Collection)
or withSettings(java.util.Collection)
if you want to override
the existing values.
settings
- The account settings for the resource.public ListAccountSettingsResult withSettings(Collection<Setting> settings)
The account settings for the resource.
settings
- The account settings for the resource.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListAccountSettings
request. When the
results of a ListAccountSettings
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListAccountSettings
request. When the
results of a ListAccountSettings
request exceed maxResults
, this value can be
used to retrieve the next page of results. This value is null
when there are no more results
to return.public String getNextToken()
The nextToken
value to include in a future ListAccountSettings
request. When the
results of a ListAccountSettings
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to return.
nextToken
value to include in a future ListAccountSettings
request. When
the results of a ListAccountSettings
request exceed maxResults
, this value can
be used to retrieve the next page of results. This value is null
when there are no more
results to return.public ListAccountSettingsResult withNextToken(String nextToken)
The nextToken
value to include in a future ListAccountSettings
request. When the
results of a ListAccountSettings
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListAccountSettings
request. When the
results of a ListAccountSettings
request exceed maxResults
, this value can be
used to retrieve the next page of results. This value is null
when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public ListAccountSettingsResult clone()