com.amazonaws.services.ec2.model
Class DescribeLicensesRequest

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

public class DescribeLicensesRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeLicenses operation.

Provides details of a user's registered licenses. Zero or more IDs may be specified on the call. When one or more license IDs are specified, only data for the specified IDs are returned.

See Also:
AmazonEC2.describeLicenses(DescribeLicensesRequest)

Constructor Summary
DescribeLicensesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Filter> getFilters()
          A list of filters used to match properties for Licenses.
 List<String> getLicenseIds()
          Specifies the license registration for which details are to be returned.
 int hashCode()
           
 void setFilters(Collection<Filter> filters)
          A list of filters used to match properties for Licenses.
 void setLicenseIds(Collection<String> licenseIds)
          Specifies the license registration for which details are to be returned.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeLicensesRequest withFilters(Collection<Filter> filters)
          A list of filters used to match properties for Licenses.
 DescribeLicensesRequest withFilters(Filter... filters)
          A list of filters used to match properties for Licenses.
 DescribeLicensesRequest withLicenseIds(Collection<String> licenseIds)
          Specifies the license registration for which details are to be returned.
 DescribeLicensesRequest withLicenseIds(String... licenseIds)
          Specifies the license registration for which details are to be returned.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeLicensesRequest

public DescribeLicensesRequest()
Method Detail

getLicenseIds

public List<String> getLicenseIds()
Specifies the license registration for which details are to be returned.

Returns:
Specifies the license registration for which details are to be returned.

setLicenseIds

public void setLicenseIds(Collection<String> licenseIds)
Specifies the license registration for which details are to be returned.

Parameters:
licenseIds - Specifies the license registration for which details are to be returned.

withLicenseIds

public DescribeLicensesRequest withLicenseIds(String... licenseIds)
Specifies the license registration for which details are to be returned.

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

Parameters:
licenseIds - Specifies the license registration for which details are to be returned.
Returns:
A reference to this updated object so that method calls can be chained together.

withLicenseIds

public DescribeLicensesRequest withLicenseIds(Collection<String> licenseIds)
Specifies the license registration for which details are to be returned.

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

Parameters:
licenseIds - Specifies the license registration for which details are to be returned.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
A list of filters used to match properties for Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns:
A list of filters used to match properties for Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

setFilters

public void setFilters(Collection<Filter> filters)
A list of filters used to match properties for Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Parameters:
filters - A list of filters used to match properties for Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

withFilters

public DescribeLicensesRequest withFilters(Filter... filters)
A list of filters used to match properties for Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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 Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeLicensesRequest withFilters(Collection<Filter> filters)
A list of filters used to match properties for Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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 Licenses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
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()

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.