Interface CreateReservedInstancesListingResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateReservedInstancesListingResponse.Builder,CreateReservedInstancesListingResponse>,Ec2Response.Builder,SdkBuilder<CreateReservedInstancesListingResponse.Builder,CreateReservedInstancesListingResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateReservedInstancesListingResponse
public static interface CreateReservedInstancesListingResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateReservedInstancesListingResponse.Builder,CreateReservedInstancesListingResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateReservedInstancesListingResponse.BuilderreservedInstancesListings(Collection<ReservedInstancesListing> reservedInstancesListings)Information about the Standard Reserved Instance listing.CreateReservedInstancesListingResponse.BuilderreservedInstancesListings(Consumer<ReservedInstancesListing.Builder>... reservedInstancesListings)Information about the Standard Reserved Instance listing.CreateReservedInstancesListingResponse.BuilderreservedInstancesListings(ReservedInstancesListing... reservedInstancesListings)Information about the Standard Reserved Instance listing.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
reservedInstancesListings
CreateReservedInstancesListingResponse.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.
-
reservedInstancesListings
CreateReservedInstancesListingResponse.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.
-
reservedInstancesListings
CreateReservedInstancesListingResponse.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 to#reservedInstancesListings(List.) - Parameters:
reservedInstancesListings- a consumer that will call methods onReservedInstancesListing.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#reservedInstancesListings(java.util.Collection)
-
-