com.amazonaws.services.ec2.model
Class DescribeTagsResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeTagsResult
All Implemented Interfaces:
java.io.Serializable

public class DescribeTagsResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DescribeTagsResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getNextToken()
          The token to use when requesting the next set of items.
 java.util.List<TagDescription> getTags()
          A list of tags.
 int hashCode()
           
 void setNextToken(java.lang.String nextToken)
          The token to use when requesting the next set of items.
 void setTags(java.util.Collection<TagDescription> tags)
          A list of tags.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeTagsResult withNextToken(java.lang.String nextToken)
          The token to use when requesting the next set of items.
 DescribeTagsResult withTags(java.util.Collection<TagDescription> tags)
          A list of tags.
 DescribeTagsResult withTags(TagDescription... tags)
          A list of tags.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeTagsResult

public DescribeTagsResult()
Method Detail

getTags

public java.util.List<TagDescription> getTags()
A list of tags.

Returns:
A list of tags.

setTags

public void setTags(java.util.Collection<TagDescription> tags)
A list of tags.

Parameters:
tags - A list of tags.

withTags

public DescribeTagsResult withTags(TagDescription... tags)
A list of tags.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - A list of tags.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public DescribeTagsResult withTags(java.util.Collection<TagDescription> tags)
A list of tags.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - A list of tags.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public java.lang.String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

Returns:
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

setNextToken

public void setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

Parameters:
nextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

withNextToken

public DescribeTagsResult withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.