Class ListPresetsResult
- All Implemented Interfaces:
Serializable,Cloneable
The ListPresetsResponse structure.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA value that you use to access the second and subsequent pages of results, if any.An array ofPresetobjects.inthashCode()voidsetNextPageToken(String nextPageToken) A value that you use to access the second and subsequent pages of results, if any.voidsetPresets(Collection<Preset> presets) An array ofPresetobjects.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 ofPresetobjects.withPresets(Collection<Preset> presets) An array ofPresetobjects.
-
Constructor Details
-
ListPresetsResult
public ListPresetsResult()
-
-
Method Details
-
getPresets
An array of
Presetobjects.- Returns:
- An array of
Presetobjects.
-
setPresets
An array of
Presetobjects.- Parameters:
presets- An array ofPresetobjects.
-
withPresets
An array of
Presetobjects.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 ofPresetobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPresets
An array of
Presetobjects.- Parameters:
presets- An array ofPresetobjects.- 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
NextPageTokenisnull.- 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 ofNextPageTokenisnull.
-
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
NextPageTokenisnull.- 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
NextPageTokenisnull.
-
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
NextPageTokenisnull.- 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 ofNextPageTokenisnull.- 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
-