@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsageForLicenseConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListUsageForLicenseConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
ListUsageForLicenseConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
Filters to scope the results.
|
String |
getLicenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
|
Integer |
getMaxResults()
Maximum number of results to return in a single call.
|
String |
getNextToken()
Token for the next set of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
Filters to scope the results.
|
void |
setLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
|
void |
setMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
Token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListUsageForLicenseConfigurationRequest |
withFilters(Collection<Filter> filters)
Filters to scope the results.
|
ListUsageForLicenseConfigurationRequest |
withFilters(Filter... filters)
Filters to scope the results.
|
ListUsageForLicenseConfigurationRequest |
withLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
|
ListUsageForLicenseConfigurationRequest |
withMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
|
ListUsageForLicenseConfigurationRequest |
withNextToken(String nextToken)
Token for the next set of results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ListUsageForLicenseConfigurationRequest()
public void setLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.public String getLicenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
public ListUsageForLicenseConfigurationRequest withLicenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn
- Amazon Resource Name (ARN) of the license configuration.public void setMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
maxResults
- Maximum number of results to return in a single call.public Integer getMaxResults()
Maximum number of results to return in a single call.
public ListUsageForLicenseConfigurationRequest withMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
maxResults
- Maximum number of results to return in a single call.public void setNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String getNextToken()
Token for the next set of results.
public ListUsageForLicenseConfigurationRequest withNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public List<Filter> getFilters()
Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are
EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
public void setFilters(Collection<Filter> filters)
Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
filters
- Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are
EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
public ListUsageForLicenseConfigurationRequest withFilters(Filter... filters)
Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are
EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
public ListUsageForLicenseConfigurationRequest withFilters(Collection<Filter> filters)
Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
filters
- Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators are
EQUALS
| NOT_EQUALS
.
resourceType
- The resource type (EC2_INSTANCE
| EC2_HOST
|
EC2_AMI
| SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators are
EQUALS
| NOT_EQUALS
.
resourceAccount
- The ID of the account that owns the resource. Logical operators are
EQUALS
| NOT_EQUALS
.
public String toString()
toString
in class Object
Object.toString()
public ListUsageForLicenseConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()