|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeLicensesRequest
public class DescribeLicensesRequest
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.
AmazonEC2.describeLicenses(DescribeLicensesRequest)
Constructor Summary | |
---|---|
DescribeLicensesRequest()
|
Method Summary | |
---|---|
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. |
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, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeLicensesRequest()
Method Detail |
---|
public List<String> getLicenseIds()
public void setLicenseIds(Collection<String> licenseIds)
licenseIds
- Specifies the license registration for which details are to be
returned.public DescribeLicensesRequest withLicenseIds(String... licenseIds)
Returns a reference to this object so that method calls can be chained together.
licenseIds
- Specifies the license registration for which details are to be
returned.
public DescribeLicensesRequest withLicenseIds(Collection<String> licenseIds)
Returns a reference to this object so that method calls can be chained together.
licenseIds
- Specifies the license registration for which details are to be
returned.
public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
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.public DescribeLicensesRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
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.
public DescribeLicensesRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
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.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |