@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInstanceAttributesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListInstanceAttributesResult() |
Modifier and Type | Method and Description |
---|---|
ListInstanceAttributesResult |
clone() |
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
The attribute types.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
int |
hashCode() |
void |
setAttributes(Collection<Attribute> attributes)
The attribute types.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListInstanceAttributesResult |
withAttributes(Attribute... attributes)
The attribute types.
|
ListInstanceAttributesResult |
withAttributes(Collection<Attribute> attributes)
The attribute types.
|
ListInstanceAttributesResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Attribute> getAttributes()
The attribute types.
public void setAttributes(Collection<Attribute> attributes)
The attribute types.
attributes
- The attribute types.public ListInstanceAttributesResult withAttributes(Attribute... attributes)
The attribute types.
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
- The attribute types.public ListInstanceAttributesResult withAttributes(Collection<Attribute> attributes)
The attribute types.
attributes
- The attribute types.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListInstanceAttributesResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListInstanceAttributesResult clone()