@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 DescribeInstanceTypeOfferingsRequest()
public void setLocationType(String locationType)
The location type.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for the
current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for the
current Region.
region
- The current Region. If you specify a location filter, it must match the current Region.
locationType
- The location type.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for
the current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for
the current Region.
region
- The current Region. If you specify a location filter, it must match the current
Region.
LocationType
public String getLocationType()
The location type.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for the
current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for the
current Region.
region
- The current Region. If you specify a location filter, it must match the current Region.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID
for the current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for
the current Region.
region
- The current Region. If you specify a location filter, it must match the current
Region.
LocationType
public DescribeInstanceTypeOfferingsRequest withLocationType(String locationType)
The location type.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for the
current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for the
current Region.
region
- The current Region. If you specify a location filter, it must match the current Region.
locationType
- The location type.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for
the current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for
the current Region.
region
- The current Region. If you specify a location filter, it must match the current
Region.
LocationType
public DescribeInstanceTypeOfferingsRequest withLocationType(LocationType locationType)
The location type.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for the
current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for the
current Region.
region
- The current Region. If you specify a location filter, it must match the current Region.
locationType
- The location type.
availability-zone
- The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for
the current Region.
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for
the current Region.
region
- The current Region. If you specify a location filter, it must match the current
Region.
LocationType
public List<Filter> getFilters()
One or more filters. Filter names and values are case-sensitive.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions and
Zones.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions
and Zones.
public void setFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions and
Zones.
filters
- One or more filters. Filter names and values are case-sensitive.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions
and Zones.
public DescribeInstanceTypeOfferingsRequest withFilters(Filter... filters)
One or more filters. Filter names and values are case-sensitive.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions and
Zones.
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.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions
and Zones.
public DescribeInstanceTypeOfferingsRequest withFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions and
Zones.
filters
- One or more filters. Filter names and values are case-sensitive.
instance-type
- The instance type. For a list of possible values, see Instance.
location
- The location. For a list of possible identifiers, see Regions
and Zones.
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 Object
Object.toString()
public DescribeInstanceTypeOfferingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()