@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLicenseSpecificationsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListLicenseSpecificationsForResourceRequest() |
Modifier and Type | Method and Description |
---|---|
ListLicenseSpecificationsForResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Maximum number of results to return in a single call.
|
String |
getNextToken()
Token for the next set of results.
|
String |
getResourceArn()
ARN of an AMI or Amazon EC2 instance that has an associated license configuration.
|
int |
hashCode() |
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.
|
void |
setResourceArn(String resourceArn)
ARN of an AMI or Amazon EC2 instance that has an associated license configuration.
|
String |
toString()
Returns a string representation of this object.
|
ListLicenseSpecificationsForResourceRequest |
withMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
|
ListLicenseSpecificationsForResourceRequest |
withNextToken(String nextToken)
Token for the next set of results.
|
ListLicenseSpecificationsForResourceRequest |
withResourceArn(String resourceArn)
ARN of an AMI or Amazon EC2 instance that has an associated license configuration.
|
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 ListLicenseSpecificationsForResourceRequest()
public void setResourceArn(String resourceArn)
ARN of an AMI or Amazon EC2 instance that has an associated license configuration.
resourceArn
- ARN of an AMI or Amazon EC2 instance that has an associated license configuration.public String getResourceArn()
ARN of an AMI or Amazon EC2 instance that has an associated license configuration.
public ListLicenseSpecificationsForResourceRequest withResourceArn(String resourceArn)
ARN of an AMI or Amazon EC2 instance that has an associated license configuration.
resourceArn
- ARN of an AMI or Amazon EC2 instance that has an associated license configuration.public void setMaxResults(Integer maxResults)
Maximum number of results to return in a single call. To retrieve the remaining results, make another call with
the returned NextToken
value.
maxResults
- Maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value.public Integer getMaxResults()
Maximum number of results to return in a single call. To retrieve the remaining results, make another call with
the returned NextToken
value.
NextToken
value.public ListLicenseSpecificationsForResourceRequest withMaxResults(Integer maxResults)
Maximum number of results to return in a single call. To retrieve the remaining results, make another call with
the returned NextToken
value.
maxResults
- Maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value.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 ListLicenseSpecificationsForResourceRequest withNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListLicenseSpecificationsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.