@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceTypeOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeInstanceTypeOfferingsRequest>
NOOP| Constructor and Description |
|---|
DescribeInstanceTypeOfferingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeInstanceTypeOfferingsRequest |
clone() |
boolean |
equals(Object obj) |
Request<DescribeInstanceTypeOfferingsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
String |
getLocationType()
The location type.
|
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)
One or more filters.
|
void |
setLocationType(String locationType)
The location type.
|
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.
|
DescribeInstanceTypeOfferingsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeInstanceTypeOfferingsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeInstanceTypeOfferingsRequest |
withLocationType(LocationType locationType)
The location type.
|
DescribeInstanceTypeOfferingsRequest |
withLocationType(String locationType)
The location type.
|
DescribeInstanceTypeOfferingsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeInstanceTypeOfferingsRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
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 DescribeInstanceTypeOfferingsRequest()
public void setLocationType(String locationType)
The location type.
locationType - The location type.LocationTypepublic String getLocationType()
The location type.
LocationTypepublic DescribeInstanceTypeOfferingsRequest withLocationType(String locationType)
The location type.
locationType - The location type.LocationTypepublic DescribeInstanceTypeOfferingsRequest withLocationType(LocationType locationType)
The location type.
locationType - The location type.LocationTypepublic List<Filter> getFilters()
One or more filters. Filter names and values are case-sensitive.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
public void setFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
filters - One or more filters. Filter names and values are case-sensitive.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
public DescribeInstanceTypeOfferingsRequest withFilters(Filter... filters)
One or more filters. Filter names and values are case-sensitive.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
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. Filter names and values are case-sensitive.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
public DescribeInstanceTypeOfferingsRequest withFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
filters - One or more filters. Filter names and values are case-sensitive.
location - This depends on the location type. For example, if the location type is
region (default), the location is the Region code (for example, us-east-2.)
instance-type - The instance type. For example, c5.2xlarge.
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.
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.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.
public DescribeInstanceTypeOfferingsRequest 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.
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.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 DescribeInstanceTypeOfferingsRequest 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<DescribeInstanceTypeOfferingsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeInstanceTypeOfferingsRequest>public String toString()
toString in class ObjectObject.toString()public DescribeInstanceTypeOfferingsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.