@Generated(value="software.amazon.awssdk:codegen") public class DescribeHostReservationsRequest extends AmazonWebServiceRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeHostReservationsRequest.Builder |
NOOP| Modifier and Type | Method and 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() |
String |
toString() |
clone, copyBaseTo, 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).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>public static DescribeHostReservationsRequest.Builder builder()
public static Class<? extends DescribeHostReservationsRequest.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.