@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttributesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListAttributesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAttributesResult |
clone() |
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
A list of attribute objects that meet the criteria of the request.
|
String |
getNextToken()
The
nextToken value to include in a future ListAttributes request. |
int |
hashCode() |
void |
setAttributes(Collection<Attribute> attributes)
A list of attribute objects that meet the criteria of the request.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListAttributes request. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListAttributesResult |
withAttributes(Attribute... attributes)
A list of attribute objects that meet the criteria of the request.
|
ListAttributesResult |
withAttributes(Collection<Attribute> attributes)
A list of attribute objects that meet the criteria of the request.
|
ListAttributesResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListAttributes request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Attribute> getAttributes()
A list of attribute objects that meet the criteria of the request.
public void setAttributes(Collection<Attribute> attributes)
A list of attribute objects that meet the criteria of the request.
attributes - A list of attribute objects that meet the criteria of the request.public ListAttributesResult withAttributes(Attribute... attributes)
A list of attribute objects that meet the criteria of the request.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection) or withAttributes(java.util.Collection) if you want to
override the existing values.
attributes - A list of attribute objects that meet the criteria of the request.public ListAttributesResult withAttributes(Collection<Attribute> attributes)
A list of attribute objects that meet the criteria of the request.
attributes - A list of attribute objects that meet the criteria of the request.public void setNextToken(String nextToken)
The nextToken value to include in a future ListAttributes request. When the results of
a ListAttributes request exceed maxResults, this value can be used to retrieve the next
page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListAttributes request. When the
results of a ListAttributes request exceed maxResults, this value can be used to
retrieve the next page of results. This value is null when there are no more results to
return.public String getNextToken()
The nextToken value to include in a future ListAttributes request. When the results of
a ListAttributes request exceed maxResults, this value can be used to retrieve the next
page of results. This value is null when there are no more results to return.
nextToken value to include in a future ListAttributes request. When the
results of a ListAttributes request exceed maxResults, this value can be used
to retrieve the next page of results. This value is null when there are no more results to
return.public ListAttributesResult withNextToken(String nextToken)
The nextToken value to include in a future ListAttributes request. When the results of
a ListAttributes request exceed maxResults, this value can be used to retrieve the next
page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListAttributes request. When the
results of a ListAttributes request exceed maxResults, this value can be used to
retrieve the next page of results. This value is null when there are no more results to
return.public String toString()
toString in class ObjectObject.toString()public ListAttributesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.