Cloneable, ReadLimitInfo, ToCopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>@Generated("software.amazon.awssdk:codegen") public class DescribeHostReservationsRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
DescribeHostReservationsRequest.Builder |
NOOP| Modifier and Type | Method | Description |
|---|---|---|
static DescribeHostReservationsRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
List<Filter> |
filter() |
One or more filters.
|
int |
hashCode() |
|
List<String> |
hostReservationIdSet() |
One or more host reservation IDs.
|
Integer |
maxResults() |
The maximum number of results to return for the request in a single page.
|
String |
nextToken() |
The token to use to retrieve the next page of results.
|
static Class<? extends DescribeHostReservationsRequest.Builder> |
serializableBuilderClass() |
|
DescribeHostReservationsRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeoutpublic List<Filter> filter()
One or more filters.
instance-family - The instance family (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront |
AllUpfront).
state - The state of the reservation (payment-pending | payment-failed |
active | retired).
instance-family - The instance family (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront |
AllUpfront).
state - The state of the reservation (payment-pending |
payment-failed | active | retired).
public List<String> hostReservationIdSet()
One or more host reservation IDs.
public 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 returned nextToken value. This value can be between 5 and 500; if
maxResults is given a larger value than 500, you will receive an error.
nextToken value. This value can be between
5 and 500; if maxResults is given a larger value than 500, you will receive an error.public String nextToken()
The token to use to retrieve the next page of results.
public DescribeHostReservationsRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>public static DescribeHostReservationsRequest.Builder builder()
public static Class<? extends DescribeHostReservationsRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.