@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceCreditSpecificationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeInstanceCreditSpecificationsRequest>
NOOP
Constructor and Description |
---|
DescribeInstanceCreditSpecificationsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceCreditSpecificationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeInstanceCreditSpecificationsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getInstanceIds()
The instance IDs.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token to retrieve the next page of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setInstanceIds(Collection<String> instanceIds)
The instance IDs.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceCreditSpecificationsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeInstanceCreditSpecificationsRequest |
withFilters(Filter... filters)
The filters.
|
DescribeInstanceCreditSpecificationsRequest |
withInstanceIds(Collection<String> instanceIds)
The instance IDs.
|
DescribeInstanceCreditSpecificationsRequest |
withInstanceIds(String... instanceIds)
The instance IDs.
|
DescribeInstanceCreditSpecificationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeInstanceCreditSpecificationsRequest |
withNextToken(String nextToken)
The token to retrieve the next page 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 DescribeInstanceCreditSpecificationsRequest()
public List<Filter> getFilters()
The filters.
instance-id
- The ID of the instance.
instance-id
- The ID of the instance.
public void setFilters(Collection<Filter> filters)
The filters.
instance-id
- The ID of the instance.
filters
- The filters.
instance-id
- The ID of the instance.
public DescribeInstanceCreditSpecificationsRequest withFilters(Filter... filters)
The filters.
instance-id
- The ID of the instance.
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
- The filters.
instance-id
- The ID of the instance.
public DescribeInstanceCreditSpecificationsRequest withFilters(Collection<Filter> filters)
The filters.
instance-id
- The ID of the instance.
filters
- The filters.
instance-id
- The ID of the instance.
public List<String> getInstanceIds()
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
public void setInstanceIds(Collection<String> instanceIds)
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
instanceIds
- The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
public DescribeInstanceCreditSpecificationsRequest withInstanceIds(String... instanceIds)
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
public DescribeInstanceCreditSpecificationsRequest withInstanceIds(Collection<String> instanceIds)
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
instanceIds
- The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value. This value can be between 5 and 1000. You cannot specify this
parameter and the instance IDs parameter in the same call.
maxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another
call with the returned NextToken
value. This value can be between 5 and 1000. You cannot
specify this parameter and the instance IDs parameter in the same call.public Integer getMaxResults()
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value. This value can be between 5 and 1000. You cannot specify this
parameter and the instance IDs parameter in the same call.
NextToken
value. This value can be between 5 and 1000. You cannot
specify this parameter and the instance IDs parameter in the same call.public DescribeInstanceCreditSpecificationsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value. This value can be between 5 and 1000. You cannot specify this
parameter and the instance IDs parameter in the same call.
maxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another
call with the returned NextToken
value. This value can be between 5 and 1000. You cannot
specify this parameter and the instance IDs parameter in the same call.public void setNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public String getNextToken()
The token to retrieve the next page of results.
public DescribeInstanceCreditSpecificationsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public Request<DescribeInstanceCreditSpecificationsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeInstanceCreditSpecificationsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceCreditSpecificationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.