@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetRevisionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssetRevisionsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssetRevisionsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetRevision> |
getItems()
The results of the
ListAssetRevisions action. |
String |
getNextToken()
When the number of revisions is greater than the default value for the
MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of revisions, the
response includes a pagination token named NextToken . |
int |
hashCode() |
void |
setItems(Collection<AssetRevision> items)
The results of the
ListAssetRevisions action. |
void |
setNextToken(String nextToken)
When the number of revisions is greater than the default value for the
MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of revisions, the
response includes a pagination token named NextToken . |
String |
toString()
Returns a string representation of this object.
|
ListAssetRevisionsResult |
withItems(AssetRevision... items)
The results of the
ListAssetRevisions action. |
ListAssetRevisionsResult |
withItems(Collection<AssetRevision> items)
The results of the
ListAssetRevisions action. |
ListAssetRevisionsResult |
withNextToken(String nextToken)
When the number of revisions is greater than the default value for the
MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of revisions, the
response includes a pagination token named NextToken . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetRevision> getItems()
The results of the ListAssetRevisions
action.
ListAssetRevisions
action.public void setItems(Collection<AssetRevision> items)
The results of the ListAssetRevisions
action.
items
- The results of the ListAssetRevisions
action.public ListAssetRevisionsResult withItems(AssetRevision... items)
The results of the ListAssetRevisions
action.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The results of the ListAssetRevisions
action.public ListAssetRevisionsResult withItems(Collection<AssetRevision> items)
The results of the ListAssetRevisions
action.
items
- The results of the ListAssetRevisions
action.public void setNextToken(String nextToken)
When the number of revisions is greater than the default value for the MaxResults
parameter, or if
you explicitly specify a value for MaxResults
that is less than the number of revisions, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListAssetRevisions
to list the next set of revisions.
nextToken
- When the number of revisions is greater than the default value for the MaxResults
parameter,
or if you explicitly specify a value for MaxResults
that is less than the number of
revisions, the response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListAssetRevisions
to list the next set
of revisions.public String getNextToken()
When the number of revisions is greater than the default value for the MaxResults
parameter, or if
you explicitly specify a value for MaxResults
that is less than the number of revisions, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListAssetRevisions
to list the next set of revisions.
MaxResults
parameter,
or if you explicitly specify a value for MaxResults
that is less than the number of
revisions, the response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListAssetRevisions
to list the next set
of revisions.public ListAssetRevisionsResult withNextToken(String nextToken)
When the number of revisions is greater than the default value for the MaxResults
parameter, or if
you explicitly specify a value for MaxResults
that is less than the number of revisions, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListAssetRevisions
to list the next set of revisions.
nextToken
- When the number of revisions is greater than the default value for the MaxResults
parameter,
or if you explicitly specify a value for MaxResults
that is less than the number of
revisions, the response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListAssetRevisions
to list the next set
of revisions.public String toString()
toString
in class Object
Object.toString()
public ListAssetRevisionsResult clone()