@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 items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
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 items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
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 items to return for this request.
|
DescribeInstanceCreditSpecificationsRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
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 items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same call.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same call.
public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same call.
You cannot specify this parameter and the instance IDs parameter in the same call.
public DescribeInstanceCreditSpecificationsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same call.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same call.
public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public DescribeInstanceCreditSpecificationsRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.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()