public class ListPresetsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The ListPresetsResponse
structure.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextPageToken
A value that you use to access the second and subsequent pages of
results, if any.
|
private SdkInternalList<Preset> |
presets
An array of
Preset objects. |
Constructor and Description |
---|
ListPresetsResult() |
Modifier and Type | Method and Description |
---|---|
ListPresetsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextPageToken()
A value that you use to access the second and subsequent pages of
results, if any.
|
java.util.List<Preset> |
getPresets()
An array of
Preset objects. |
int |
hashCode() |
void |
setNextPageToken(java.lang.String nextPageToken)
A value that you use to access the second and subsequent pages of
results, if any.
|
void |
setPresets(java.util.Collection<Preset> presets)
An array of
Preset objects. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPresetsResult |
withNextPageToken(java.lang.String nextPageToken)
A value that you use to access the second and subsequent pages of
results, if any.
|
ListPresetsResult |
withPresets(java.util.Collection<Preset> presets)
An array of
Preset objects. |
ListPresetsResult |
withPresets(Preset... presets)
An array of
Preset objects. |
private SdkInternalList<Preset> presets
An array of Preset
objects.
private java.lang.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
.
public java.util.List<Preset> getPresets()
An array of Preset
objects.
Preset
objects.public void setPresets(java.util.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(java.util.Collection<Preset> presets)
An array of Preset
objects.
presets
- An array of Preset
objects.public void setNextPageToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListPresetsResult clone()
clone
in class java.lang.Object