@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 String capacityReservationId()
The ID of the Capacity Reservation.
public String nextToken()
The token to use 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. 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.