com.amazonaws.services.ec2.model
Class DescribeTagsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeTagsRequest

public class DescribeTagsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeTags operation.

Describes the tags for the specified resources.

See Also:
AmazonEC2.describeTags(DescribeTagsRequest)

Constructor Summary
DescribeTagsRequest()
          Default constructor for a new DescribeTagsRequest object.
DescribeTagsRequest(List<Filter> filters)
          Constructs a new DescribeTagsRequest object.
 
Method Summary
 List<Filter> getFilters()
          A list of filters used to match properties for tags.
 void setFilters(Collection<Filter> filters)
          A list of filters used to match properties for tags.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeTagsRequest withFilters(Collection<Filter> filters)
          A list of filters used to match properties for tags.
 DescribeTagsRequest withFilters(Filter... filters)
          A list of filters used to match properties for tags.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeTagsRequest

public DescribeTagsRequest()
Default constructor for a new DescribeTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DescribeTagsRequest

public DescribeTagsRequest(List<Filter> filters)
Constructs a new DescribeTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
filters - A list of filters used to match properties for tags.
Method Detail

getFilters

public List<Filter> getFilters()
A list of filters used to match properties for tags.

Returns:
A list of filters used to match properties for tags.

setFilters

public void setFilters(Collection<Filter> filters)
A list of filters used to match properties for tags.

Parameters:
filters - A list of filters used to match properties for tags.

withFilters

public DescribeTagsRequest withFilters(Filter... filters)
A list of filters used to match properties for tags.

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

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

withFilters

public DescribeTagsRequest withFilters(Collection<Filter> filters)
A list of filters used to match properties for tags.

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

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

toString

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

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


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