Interface QuoteOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuoteOption.Builder,,QuoteOption> SdkBuilder<QuoteOption.Builder,,QuoteOption> SdkPojo
- Enclosing class:
QuoteOption
-
Method Summary
Modifier and TypeMethodDescriptioncapacities(Collection<QuoteCapacity> capacities) The capacities included in this quote option.capacities(Consumer<QuoteCapacity.Builder>... capacities) The capacities included in this quote option.capacities(QuoteCapacity... capacities) The capacities included in this quote option.default QuoteOption.BuildercapacitySummary(Consumer<CapacitySummary.Builder> capacitySummary) A summary of the existing, final, and changed capacity for this quote option.capacitySummary(CapacitySummary capacitySummary) A summary of the existing, final, and changed capacity for this quote option.pricingOptions(Collection<PricingOption> pricingOptions) The pricing options for this quote option.pricingOptions(Consumer<PricingOption.Builder>... pricingOptions) The pricing options for this quote option.pricingOptions(PricingOption... pricingOptions) The pricing options for this quote option.quoteOptionIdentifier(String quoteOptionIdentifier) The ID of the quote option.specifications(Collection<QuoteSpecification> specifications) The physical specifications for the racks or servers in this quote option.specifications(Consumer<QuoteSpecification.Builder>... specifications) The physical specifications for the racks or servers in this quote option.specifications(QuoteSpecification... specifications) The physical specifications for the racks or servers in this quote option.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
quoteOptionIdentifier
The ID of the quote option.
- Parameters:
quoteOptionIdentifier- The ID of the quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacities
The capacities included in this quote option.
- Parameters:
capacities- The capacities included in this quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacities
The capacities included in this quote option.
- Parameters:
capacities- The capacities included in this quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacities
The capacities included in this quote option.
This is a convenience method that creates an instance of theQuoteCapacity.Builderavoiding the need to create one manually viaQuoteCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacities(List<QuoteCapacity>).- Parameters:
capacities- a consumer that will call methods onQuoteCapacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacitySummary
A summary of the existing, final, and changed capacity for this quote option.
- Parameters:
capacitySummary- A summary of the existing, final, and changed capacity for this quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacitySummary
A summary of the existing, final, and changed capacity for this quote option.
This is a convenience method that creates an instance of theCapacitySummary.Builderavoiding the need to create one manually viaCapacitySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacitySummary(CapacitySummary).- Parameters:
capacitySummary- a consumer that will call methods onCapacitySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specifications
The physical specifications for the racks or servers in this quote option.
- Parameters:
specifications- The physical specifications for the racks or servers in this quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specifications
The physical specifications for the racks or servers in this quote option.
- Parameters:
specifications- The physical specifications for the racks or servers in this quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specifications
The physical specifications for the racks or servers in this quote option.
This is a convenience method that creates an instance of theQuoteSpecification.Builderavoiding the need to create one manually viaQuoteSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospecifications(List<QuoteSpecification>).- Parameters:
specifications- a consumer that will call methods onQuoteSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pricingOptions
The pricing options for this quote option.
- Parameters:
pricingOptions- The pricing options for this quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingOptions
The pricing options for this quote option.
- Parameters:
pricingOptions- The pricing options for this quote option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingOptions
The pricing options for this quote option.
This is a convenience method that creates an instance of thePricingOption.Builderavoiding the need to create one manually viaPricingOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topricingOptions(List<PricingOption>).- Parameters:
pricingOptions- a consumer that will call methods onPricingOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-