@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPresetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPresetsResult() |
Modifier and Type | Method and Description |
---|---|
ListPresetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Use this string to request the next batch of presets.
|
List<Preset> |
getPresets()
List of presets
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Use this string to request the next batch of presets.
|
void |
setPresets(Collection<Preset> presets)
List of presets
|
String |
toString()
Returns a string representation of this object.
|
ListPresetsResult |
withNextToken(String nextToken)
Use this string to request the next batch of presets.
|
ListPresetsResult |
withPresets(Collection<Preset> presets)
List of presets
|
ListPresetsResult |
withPresets(Preset... presets)
List of presets
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- Use this string to request the next batch of presets.public String getNextToken()
public ListPresetsResult withNextToken(String nextToken)
nextToken
- Use this string to request the next batch of presets.public void setPresets(Collection<Preset> presets)
presets
- List of presetspublic ListPresetsResult withPresets(Preset... presets)
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
- List of presetspublic ListPresetsResult withPresets(Collection<Preset> presets)
presets
- List of presetspublic String toString()
toString
in class Object
Object.toString()
public ListPresetsResult clone()