public class ListPresetsResult extends Object 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; useful for testing and
debugging.
|
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. |
public List<Preset> getPresets()
Preset objects.Preset objects.public void setPresets(Collection<Preset> presets)
Preset objects.presets - An array of Preset objects.public ListPresetsResult withPresets(Preset... presets)
Preset objects.
Returns a reference to this object so that method calls can be chained together.
presets - An array of Preset objects.public ListPresetsResult withPresets(Collection<Preset> presets)
Preset objects.
Returns a reference to this object so that method calls can be chained together.
presets - An array of Preset objects.public String getNextPageToken()
NextPageToken is null.
Constraints:
Pattern: ^\d{13}-\w{6}$
NextPageToken is null.public void setNextPageToken(String nextPageToken)
NextPageToken is null.
Constraints:
Pattern: ^\d{13}-\w{6}$
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 ListPresetsResult withNextPageToken(String nextPageToken)
NextPageToken is null.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{13}-\w{6}$
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 © 2015. All rights reserved.