@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUserSettingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListUserSettingsResult() |
Modifier and Type | Method and Description |
---|---|
ListUserSettingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token used to retrieve the next page of results for this operation.
|
List<UserSettingsSummary> |
getUserSettings()
The user settings.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
void |
setUserSettings(Collection<UserSettingsSummary> userSettings)
The user settings.
|
String |
toString()
Returns a string representation of this object.
|
ListUserSettingsResult |
withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
ListUserSettingsResult |
withUserSettings(Collection<UserSettingsSummary> userSettings)
The user settings.
|
ListUserSettingsResult |
withUserSettings(UserSettingsSummary... userSettings)
The user settings.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
nextToken
- The pagination token used to retrieve the next page of results for this operation.public String getNextToken()
The pagination token used to retrieve the next page of results for this operation.
public ListUserSettingsResult withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
nextToken
- The pagination token used to retrieve the next page of results for this operation.public List<UserSettingsSummary> getUserSettings()
The user settings.
public void setUserSettings(Collection<UserSettingsSummary> userSettings)
The user settings.
userSettings
- The user settings.public ListUserSettingsResult withUserSettings(UserSettingsSummary... userSettings)
The user settings.
NOTE: This method appends the values to the existing list (if any). Use
setUserSettings(java.util.Collection)
or withUserSettings(java.util.Collection)
if you want to
override the existing values.
userSettings
- The user settings.public ListUserSettingsResult withUserSettings(Collection<UserSettingsSummary> userSettings)
The user settings.
userSettings
- The user settings.public String toString()
toString
in class Object
Object.toString()
public ListUserSettingsResult clone()