Interface ConfigurableUpfrontRateCardItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurableUpfrontRateCardItem.Builder,,ConfigurableUpfrontRateCardItem> SdkBuilder<ConfigurableUpfrontRateCardItem.Builder,,ConfigurableUpfrontRateCardItem> SdkPojo
- Enclosing class:
ConfigurableUpfrontRateCardItem
-
Method Summary
Modifier and TypeMethodDescriptionconstraints(Consumer<Constraints.Builder> constraints) Constraints on how the buyer can configure this rate card, such as whether multiple dimensions can be selected.constraints(Constraints constraints) Constraints on how the buyer can configure this rate card, such as whether multiple dimensions can be selected.rateCard(Collection<RateCardItem> rateCard) The per-unit rates for this configuration.rateCard(Consumer<RateCardItem.Builder>... rateCard) The per-unit rates for this configuration.rateCard(RateCardItem... rateCard) The per-unit rates for this configuration.selector(Consumer<Selector.Builder> selector) The selector criteria for this rate card, such as duration.The selector criteria for this rate card, such as duration.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
-
selector
The selector criteria for this rate card, such as duration.
- Parameters:
selector- The selector criteria for this rate card, such as duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selector
The selector criteria for this rate card, such as duration.
This is a convenience method that creates an instance of theSelector.Builderavoiding the need to create one manually viaSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselector(Selector).- Parameters:
selector- a consumer that will call methods onSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
constraints
Constraints on how the buyer can configure this rate card, such as whether multiple dimensions can be selected.
- Parameters:
constraints- Constraints on how the buyer can configure this rate card, such as whether multiple dimensions can be selected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constraints
default ConfigurableUpfrontRateCardItem.Builder constraints(Consumer<Constraints.Builder> constraints) Constraints on how the buyer can configure this rate card, such as whether multiple dimensions can be selected.
This is a convenience method that creates an instance of theConstraints.Builderavoiding the need to create one manually viaConstraints.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstraints(Constraints).- Parameters:
constraints- a consumer that will call methods onConstraints.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rateCard
The per-unit rates for this configuration.
- Parameters:
rateCard- The per-unit rates for this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCard
The per-unit rates for this configuration.
- Parameters:
rateCard- The per-unit rates for this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCard
The per-unit rates for this configuration.
This is a convenience method that creates an instance of theRateCardItem.Builderavoiding the need to create one manually viaRateCardItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torateCard(List<RateCardItem>).- Parameters:
rateCard- a consumer that will call methods onRateCardItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-