@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssetsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssetsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetShallow> |
getAssets()
A list of MediaPackage VOD Asset resources.
|
String |
getNextToken()
A token that can be used to resume pagination from the end of the collection.
|
int |
hashCode() |
void |
setAssets(Collection<AssetShallow> assets)
A list of MediaPackage VOD Asset resources.
|
void |
setNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetsResult |
withAssets(AssetShallow... assets)
A list of MediaPackage VOD Asset resources.
|
ListAssetsResult |
withAssets(Collection<AssetShallow> assets)
A list of MediaPackage VOD Asset resources.
|
ListAssetsResult |
withNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetShallow> getAssets()
public void setAssets(Collection<AssetShallow> assets)
assets
- A list of MediaPackage VOD Asset resources.public ListAssetsResult withAssets(AssetShallow... assets)
NOTE: This method appends the values to the existing list (if any). Use
setAssets(java.util.Collection)
or withAssets(java.util.Collection)
if you want to override the
existing values.
assets
- A list of MediaPackage VOD Asset resources.public ListAssetsResult withAssets(Collection<AssetShallow> assets)
assets
- A list of MediaPackage VOD Asset resources.public void setNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String getNextToken()
public ListAssetsResult withNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String toString()
toString
in class Object
Object.toString()
public ListAssetsResult clone()