@Generated(value="software.amazon.awssdk:codegen") public final class GetGroupsForCapacityReservationRequest extends Ec2Request implements ToCopyableBuilder<GetGroupsForCapacityReservationRequest.Builder,GetGroupsForCapacityReservationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetGroupsForCapacityReservationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetGroupsForCapacityReservationRequest.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 use to retrieve the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetGroupsForCapacityReservationRequest.Builder> |
serializableBuilderClass() |
GetGroupsForCapacityReservationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String capacityReservationId()
The ID of the Capacity Reservation.
public final String nextToken()
The token to use to retrieve the next page of results.
public final 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 receive an error.
nextToken value. This value can be between
5 and 500. If maxResults is given a larger value than 500, you receive an error.public GetGroupsForCapacityReservationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetGroupsForCapacityReservationRequest.Builder,GetGroupsForCapacityReservationRequest>toBuilder in class Ec2Requestpublic static GetGroupsForCapacityReservationRequest.Builder builder()
public static Class<? extends GetGroupsForCapacityReservationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.