public static interface GetGroupsForCapacityReservationResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetGroupsForCapacityReservationResponse.Builder,GetGroupsForCapacityReservationResponse>
| Modifier and Type | Method and Description |
|---|---|
GetGroupsForCapacityReservationResponse.Builder |
capacityReservationGroups(CapacityReservationGroup... capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
|
GetGroupsForCapacityReservationResponse.Builder |
capacityReservationGroups(Collection<CapacityReservationGroup> capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
|
GetGroupsForCapacityReservationResponse.Builder |
capacityReservationGroups(Consumer<CapacityReservationGroup.Builder>... capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
|
GetGroupsForCapacityReservationResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetGroupsForCapacityReservationResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are
no more results to return.GetGroupsForCapacityReservationResponse.Builder capacityReservationGroups(Collection<CapacityReservationGroup> capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
capacityReservationGroups - Information about the resource groups to which the Capacity Reservation has been added.GetGroupsForCapacityReservationResponse.Builder capacityReservationGroups(CapacityReservationGroup... capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
capacityReservationGroups - Information about the resource groups to which the Capacity Reservation has been added.GetGroupsForCapacityReservationResponse.Builder capacityReservationGroups(Consumer<CapacityReservationGroup.Builder>... capacityReservationGroups)
Information about the resource groups to which the Capacity Reservation has been added.
This is a convenience method that creates an instance of theCapacityReservationGroup.Builder avoiding the need to
create one manually via CapacityReservationGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #capacityReservationGroups(List.
capacityReservationGroups - a consumer that will call methods on
CapacityReservationGroup.Builder#capacityReservationGroups(java.util.Collection) Copyright © 2023. All rights reserved.