@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() |
boolean |
equals(Object obj) |
Request<DescribeInstanceCreditSpecificationsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
List<String> |
getInstanceIds()
One or more 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)
One or more filters.
|
void |
setInstanceIds(Collection<String> instanceIds)
One or more 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; useful for testing and debugging.
|
DescribeInstanceCreditSpecificationsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeInstanceCreditSpecificationsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeInstanceCreditSpecificationsRequest |
withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
DescribeInstanceCreditSpecificationsRequest |
withInstanceIds(String... instanceIds)
One or more 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, copyBaseTo, 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, withSdkRequestTimeoutpublic DescribeInstanceCreditSpecificationsRequest()
public List<Filter> getFilters()
One or more filters.
instance-id - The ID of the instance.
instance-id - The ID of the instance.
public void setFilters(Collection<Filter> filters)
One or more filters.
instance-id - The ID of the instance.
filters - One or more filters.
instance-id - The ID of the instance.
public DescribeInstanceCreditSpecificationsRequest withFilters(Filter... filters)
One or more 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 - One or more filters.
instance-id - The ID of the instance.
public DescribeInstanceCreditSpecificationsRequest withFilters(Collection<Filter> filters)
One or more filters.
instance-id - The ID of the instance.
filters - One or more filters.
instance-id - The ID of the instance.
public List<String> getInstanceIds()
One or more 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)
One or more instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
instanceIds - One or more instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
public DescribeInstanceCreditSpecificationsRequest withInstanceIds(String... instanceIds)
One or more 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 - One or more instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
public DescribeInstanceCreditSpecificationsRequest withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
instanceIds - One or more 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 ObjectObject.toString()public DescribeInstanceCreditSpecificationsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.