@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAttributeValuesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAttributeValuesResult() |
Modifier and Type | Method and Description |
---|---|
GetAttributeValuesResult |
clone() |
boolean |
equals(Object obj) |
List<AttributeValue> |
getAttributeValues()
The list of values for an attribute.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setAttributeValues(Collection<AttributeValue> attributeValues)
The list of values for an attribute.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetAttributeValuesResult |
withAttributeValues(AttributeValue... attributeValues)
The list of values for an attribute.
|
GetAttributeValuesResult |
withAttributeValues(Collection<AttributeValue> attributeValues)
The list of values for an attribute.
|
GetAttributeValuesResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AttributeValue> getAttributeValues()
The list of values for an attribute. For example, Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.
Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.public void setAttributeValues(Collection<AttributeValue> attributeValues)
The list of values for an attribute. For example, Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.
attributeValues
- The list of values for an attribute. For example, Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.public GetAttributeValuesResult withAttributeValues(AttributeValue... attributeValues)
The list of values for an attribute. For example, Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeValues(java.util.Collection)
or withAttributeValues(java.util.Collection)
if you
want to override the existing values.
attributeValues
- The list of values for an attribute. For example, Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.public GetAttributeValuesResult withAttributeValues(Collection<AttributeValue> attributeValues)
The list of values for an attribute. For example, Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.
attributeValues
- The list of values for an attribute. For example, Throughput Optimized HDD
and
Provisioned IOPS
are two available values for the AmazonEC2
volumeType
.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public GetAttributeValuesResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public GetAttributeValuesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.