public static interface CancelReservedInstancesListingResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CancelReservedInstancesListingResponse.Builder,CancelReservedInstancesListingResponse>
Modifier and Type | Method and Description |
---|---|
CancelReservedInstancesListingResponse.Builder |
reservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
The Reserved Instance listing.
|
CancelReservedInstancesListingResponse.Builder |
reservedInstancesListings(Consumer<ReservedInstancesListing.Builder>... reservedInstancesListings)
The Reserved Instance listing.
|
CancelReservedInstancesListingResponse.Builder |
reservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
The Reserved Instance listing.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CancelReservedInstancesListingResponse.Builder reservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)
The Reserved Instance listing.
reservedInstancesListings
- The Reserved Instance listing.CancelReservedInstancesListingResponse.Builder reservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)
The Reserved Instance listing.
reservedInstancesListings
- The Reserved Instance listing.CancelReservedInstancesListingResponse.Builder reservedInstancesListings(Consumer<ReservedInstancesListing.Builder>... reservedInstancesListings)
The Reserved Instance listing.
This is a convenience method that creates an instance of theReservedInstancesListing.Builder
avoiding the need to
create one manually via ReservedInstancesListing.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #reservedInstancesListings(List
.
reservedInstancesListings
- a consumer that will call methods on
ReservedInstancesListing.Builder
#reservedInstancesListings(java.util.Collection)
Copyright © 2023. All rights reserved.