Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DescribeTagsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeTagsRequest
All Implemented Interfaces:
DryRunSupportedRequest<DescribeTagsRequest>, Serializable

public class DescribeTagsRequest
extends AmazonWebServiceRequest
implements Serializable, DryRunSupportedRequest<DescribeTagsRequest>

Container for the parameters to the DescribeTags operation.

Describes the tags for the specified resources.

See Also:
AmazonEC2.describeTags(DescribeTagsRequest), Serialized Form

Constructor Summary
DescribeTagsRequest()
          Default constructor for a new DescribeTagsRequest object.
DescribeTagsRequest(List<Filter> filters)
          Constructs a new DescribeTagsRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 Request<DescribeTagsRequest> getDryRunRequest()
          This method is intended for internal use only.
 List<Filter> getFilters()
          A list of filters used to match properties for tags.
 int hashCode()
           
 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, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, 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.

getDryRunRequest

public Request<DescribeTagsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DescribeTagsRequest>

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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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