Interface ConfigurableUpfrontRateCardItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurableUpfrontRateCardItem.Builder,ConfigurableUpfrontRateCardItem>,SdkBuilder<ConfigurableUpfrontRateCardItem.Builder,ConfigurableUpfrontRateCardItem>,SdkPojo
- Enclosing class:
- ConfigurableUpfrontRateCardItem
public static interface ConfigurableUpfrontRateCardItem.Builder extends SdkPojo, CopyableBuilder<ConfigurableUpfrontRateCardItem.Builder,ConfigurableUpfrontRateCardItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConfigurableUpfrontRateCardItem.Builderconstraints(Consumer<Constraints.Builder> constraints)Defines limits on how the term can be configured by acceptors.ConfigurableUpfrontRateCardItem.Builderconstraints(Constraints constraints)Defines limits on how the term can be configured by acceptors.ConfigurableUpfrontRateCardItem.BuilderrateCard(Collection<RateCardItem> rateCard)Defines the per unit rates for product dimensions.ConfigurableUpfrontRateCardItem.BuilderrateCard(Consumer<RateCardItem.Builder>... rateCard)Defines the per unit rates for product dimensions.ConfigurableUpfrontRateCardItem.BuilderrateCard(RateCardItem... rateCard)Defines the per unit rates for product dimensions.default ConfigurableUpfrontRateCardItem.Builderselector(Consumer<Selector.Builder> selector)Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.ConfigurableUpfrontRateCardItem.Builderselector(Selector selector)Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
constraints
ConfigurableUpfrontRateCardItem.Builder constraints(Constraints constraints)
Defines limits on how the term can be configured by acceptors.
- Parameters:
constraints- Defines limits on how the term can be configured by acceptors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constraints
default ConfigurableUpfrontRateCardItem.Builder constraints(Consumer<Constraints.Builder> constraints)
Defines limits on how the term can be configured by acceptors.
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:
constraints(Constraints)
-
rateCard
ConfigurableUpfrontRateCardItem.Builder rateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
- Parameters:
rateCard- Defines the per unit rates for product dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCard
ConfigurableUpfrontRateCardItem.Builder rateCard(RateCardItem... rateCard)
Defines the per unit rates for product dimensions.
- Parameters:
rateCard- Defines the per unit rates for product dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateCard
ConfigurableUpfrontRateCardItem.Builder rateCard(Consumer<RateCardItem.Builder>... rateCard)
Defines the per unit rates for product dimensions.
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 to#rateCard(List.) - 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:
#rateCard(java.util.Collection)
-
selector
ConfigurableUpfrontRateCardItem.Builder selector(Selector selector)
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
- Parameters:
selector- Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selector
default ConfigurableUpfrontRateCardItem.Builder selector(Consumer<Selector.Builder> selector)
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
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:
selector(Selector)
-
-