public class DescribeLicensesRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeLicensesRequest>
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.
| Constructor and Description |
|---|
DescribeLicensesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Request<DescribeLicensesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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 Request<DescribeLicensesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeLicensesRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.