Class ListPresetsResult
- java.lang.Object
-
- com.amazonaws.services.elastictranscoder.model.ListPresetsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListPresetsResult extends Object implements Serializable, Cloneable
The
ListPresetsResponsestructure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListPresetsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPresetsResultclone()booleanequals(Object obj)StringgetNextPageToken()A value that you use to access the second and subsequent pages of results, if any.List<Preset>getPresets()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListPresetsResultwithNextPageToken(String nextPageToken)A value that you use to access the second and subsequent pages of results, if any.ListPresetsResultwithPresets(Preset... presets)An array ofPresetobjects.ListPresetsResultwithPresets(Collection<Preset> presets)An array ofPresetobjects.
-
-
-
Method Detail
-
getPresets
public List<Preset> getPresets()
An array of
Presetobjects.- Returns:
- An array of
Presetobjects.
-
setPresets
public void setPresets(Collection<Preset> presets)
An array of
Presetobjects.- Parameters:
presets- An array ofPresetobjects.
-
withPresets
public ListPresetsResult withPresets(Preset... presets)
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
public ListPresetsResult withPresets(Collection<Preset> presets)
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
public void setNextPageToken(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
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
public 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
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
public ListPresetsResult withNextPageToken(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
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPresetsResult clone()
-
-