@Generated(value="software.amazon.awssdk:codegen") public final class GetCapacityReservationUsageRequest extends Ec2Request implements ToCopyableBuilder<GetCapacityReservationUsageRequest.Builder,GetCapacityReservationUsageRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetCapacityReservationUsageRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetCapacityReservationUsageRequest.Builder |
builder() |
String |
capacityReservationId()
The ID of the Capacity Reservation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return for the request in a single page.
|
String |
nextToken()
The token to retrieve the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetCapacityReservationUsageRequest.Builder> |
serializableBuilderClass() |
GetCapacityReservationUsageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String capacityReservationId()
The ID of the Capacity Reservation.
public String nextToken()
The token to retrieve the next page of results.
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.
Valid range: Minimum value of 1. Maximum value of 1000.
Valid range: Minimum value of 1. Maximum value of 1000.
public GetCapacityReservationUsageRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetCapacityReservationUsageRequest.Builder,GetCapacityReservationUsageRequest>
toBuilder
in class Ec2Request
public static GetCapacityReservationUsageRequest.Builder builder()
public static Class<? extends GetCapacityReservationUsageRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.