@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 results to return for the request in a single page.
|
String |
getNextToken()
The token to retrieve the next page of results.
|
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 results to return for the request in a single page.
|
void |
setNextToken(String nextToken)
The token to retrieve the next page of results.
|
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 results to return for the request in a single page.
|
DescribeInstanceTypeOfferingsRequest |
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 DescribeInstanceTypeOfferingsRequest()
public void setLocationType(String locationType)
The location type.
locationType
- The location type.LocationType
public String getLocationType()
The location type.
LocationType
public DescribeInstanceTypeOfferingsRequest withLocationType(String locationType)
The location type.
locationType
- The location type.LocationType
public DescribeInstanceTypeOfferingsRequest withLocationType(LocationType locationType)
The location type.
locationType
- The location type.LocationType
public 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 results to return for the request in a single page. The remaining results can be seen by sending another request with the next token value.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the next token value.public Integer getMaxResults()
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the next token value.
public DescribeInstanceTypeOfferingsRequest withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the next token value.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the next token value.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 DescribeInstanceTypeOfferingsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.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()