@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPresetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
 The ListPresetsResponse structure.
 
| Constructor and Description | 
|---|
ListPresetsResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
ListPresetsResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getNextPageToken()
 A value that you use to access the second and subsequent pages of results, if any. 
 | 
List<Preset> | 
getPresets()
 An array of  
Preset objects. | 
int | 
hashCode()  | 
void | 
setNextPageToken(String nextPageToken)
 A value that you use to access the second and subsequent pages of results, if any. 
 | 
void | 
setPresets(Collection<Preset> presets)
 An array of  
Preset objects. | 
String | 
toString()
Returns a string representation of this object. 
 | 
ListPresetsResult | 
withNextPageToken(String nextPageToken)
 A value that you use to access the second and subsequent pages of results, if any. 
 | 
ListPresetsResult | 
withPresets(Collection<Preset> presets)
 An array of  
Preset objects. | 
ListPresetsResult | 
withPresets(Preset... presets)
 An array of  
Preset objects. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Preset> getPresets()
 An array of Preset objects.
 
Preset objects.public void setPresets(Collection<Preset> presets)
 An array of Preset objects.
 
presets - An array of Preset objects.public ListPresetsResult withPresets(Preset... presets)
 An array of Preset objects.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setPresets(java.util.Collection) or withPresets(java.util.Collection) if you want to override
 the existing values.
 
presets - An array of Preset objects.public ListPresetsResult withPresets(Collection<Preset> presets)
 An array of Preset objects.
 
presets - An array of Preset objects.public void setNextPageToken(String nextPageToken)
 A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one
 page or when you've reached the last page of results, the value of NextPageToken is
 null.
 
nextPageToken - A value that you use to access the second and subsequent pages of results, if any. When the presets fit on
        one page or when you've reached the last page of results, the value of NextPageToken is
        null.public String getNextPageToken()
 A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one
 page or when you've reached the last page of results, the value of NextPageToken is
 null.
 
NextPageToken is
         null.public ListPresetsResult withNextPageToken(String nextPageToken)
 A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one
 page or when you've reached the last page of results, the value of NextPageToken is
 null.
 
nextPageToken - A value that you use to access the second and subsequent pages of results, if any. When the presets fit on
        one page or when you've reached the last page of results, the value of NextPageToken is
        null.public String toString()
toString in class ObjectObject.toString()public ListPresetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.