Class ListPresetsResult
- All Implemented Interfaces:
Serializable
,Cloneable
The ListPresetsResponse
structure.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A value that you use to access the second and subsequent pages of results, if any.An array ofPreset
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 ofPreset
objects.toString()
Returns a string representation of this object; useful for testing and debugging.withNextPageToken
(String nextPageToken) A value that you use to access the second and subsequent pages of results, if any.withPresets
(Preset... presets) An array ofPreset
objects.withPresets
(Collection<Preset> presets) An array ofPreset
objects.
-
Constructor Details
-
ListPresetsResult
public ListPresetsResult()
-
-
Method Details
-
getPresets
An array of
Preset
objects.- Returns:
- An array of
Preset
objects.
-
setPresets
An array of
Preset
objects.- Parameters:
presets
- An array ofPreset
objects.
-
withPresets
An array of
Preset
objects.NOTE: This method appends the values to the existing list (if any). Use
setPresets(java.util.Collection)
orwithPresets(java.util.Collection)
if you want to override the existing values.- Parameters:
presets
- An array ofPreset
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPresets
An array of
Preset
objects.- Parameters:
presets
- An array ofPreset
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextPageToken
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
isnull
.- Parameters:
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 ofNextPageToken
isnull
.
-
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
isnull
.- Returns:
- 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
isnull
.
-
withNextPageToken
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
isnull
.- Parameters:
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 ofNextPageToken
isnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-