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) Defines limits on how the term can be configured by acceptors.constraints
(Constraints constraints) Defines limits on how the term can be configured by acceptors.rateCard
(Collection<RateCardItem> rateCard) Defines the per unit rates for product dimensions.rateCard
(Consumer<RateCardItem.Builder>... rateCard) Defines the per unit rates for product dimensions.rateCard
(RateCardItem... rateCard) Defines the per unit rates for product dimensions.selector
(Consumer<Selector.Builder> selector) Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.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 Details
-
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.Builder
avoiding the need to create one manually viaConstraints.builder()
.When the
Consumer
completes,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
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
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
Defines the per unit rates for product dimensions.
This is a convenience method that creates an instance of theRateCardItem.Builder
avoiding the need to create one manually viaRateCardItem.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaSelector.builder()
.When the
Consumer
completes,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:
-