Interface CreateReservedInstancesListingResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CreateReservedInstancesListingResponse.Builder,,- CreateReservedInstancesListingResponse> - Ec2Response.Builder,- SdkBuilder<CreateReservedInstancesListingResponse.Builder,,- CreateReservedInstancesListingResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateReservedInstancesListingResponse
@Mutable
@NotThreadSafe
public static interface CreateReservedInstancesListingResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateReservedInstancesListingResponse.Builder,CreateReservedInstancesListingResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionreservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Standard Reserved Instance listing.reservedInstancesListings(Consumer<ReservedInstancesListing.Builder>... reservedInstancesListings) Information about the Standard Reserved Instance listing.reservedInstancesListings(ReservedInstancesListing... reservedInstancesListings) Information about the Standard Reserved Instance listing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
reservedInstancesListingsCreateReservedInstancesListingResponse.Builder reservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings) Information about the Standard Reserved Instance listing. - Parameters:
- reservedInstancesListings- Information about the Standard Reserved Instance listing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
reservedInstancesListingsCreateReservedInstancesListingResponse.Builder reservedInstancesListings(ReservedInstancesListing... reservedInstancesListings) Information about the Standard Reserved Instance listing. - Parameters:
- reservedInstancesListings- Information about the Standard Reserved Instance listing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
reservedInstancesListingsCreateReservedInstancesListingResponse.Builder reservedInstancesListings(Consumer<ReservedInstancesListing.Builder>... reservedInstancesListings) Information about the Standard Reserved Instance listing. This is a convenience method that creates an instance of theReservedInstancesListing.Builderavoiding the need to create one manually viaReservedInstancesListing.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreservedInstancesListings(List<ReservedInstancesListing>).- Parameters:
- reservedInstancesListings- a consumer that will call methods on- ReservedInstancesListing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-