@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<AssetSummary> |
getAssetSummaries()
A list that summarizes each asset.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setAssetSummaries(Collection<AssetSummary> assetSummaries)
A list that summarizes each asset.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetsResult |
withAssetSummaries(AssetSummary... assetSummaries)
A list that summarizes each asset.
|
ListAssetsResult |
withAssetSummaries(Collection<AssetSummary> assetSummaries)
A list that summarizes each asset.
|
ListAssetsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetSummary> getAssetSummaries()
A list that summarizes each asset.
public void setAssetSummaries(Collection<AssetSummary> assetSummaries)
A list that summarizes each asset.
assetSummaries
- A list that summarizes each asset.public ListAssetsResult withAssetSummaries(AssetSummary... assetSummaries)
A list that summarizes each asset.
NOTE: This method appends the values to the existing list (if any). Use
setAssetSummaries(java.util.Collection)
or withAssetSummaries(java.util.Collection)
if you want
to override the existing values.
assetSummaries
- A list that summarizes each asset.public ListAssetsResult withAssetSummaries(Collection<AssetSummary> assetSummaries)
A list that summarizes each asset.
assetSummaries
- A list that summarizes each asset.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListAssetsResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListAssetsResult clone()