Interface ConfigurableUpfrontPricingTermConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigurableUpfrontPricingTermConfiguration.Builder,
,ConfigurableUpfrontPricingTermConfiguration> SdkBuilder<ConfigurableUpfrontPricingTermConfiguration.Builder,
,ConfigurableUpfrontPricingTermConfiguration> SdkPojo
- Enclosing class:
ConfigurableUpfrontPricingTermConfiguration
@Mutable
@NotThreadSafe
public static interface ConfigurableUpfrontPricingTermConfiguration.Builder
extends SdkPojo, CopyableBuilder<ConfigurableUpfrontPricingTermConfiguration.Builder,ConfigurableUpfrontPricingTermConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondimensions
(Collection<Dimension> dimensions) Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.dimensions
(Consumer<Dimension.Builder>... dimensions) Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.dimensions
(Dimension... dimensions) Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.selectorValue
(String selectorValue) Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.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, sdkFieldNameToField, sdkFields
-
Method Details
-
dimensions
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
- Parameters:
dimensions
- Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
- Parameters:
dimensions
- Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
ConfigurableUpfrontPricingTermConfiguration.Builder dimensions(Consumer<Dimension.Builder>... dimensions) Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
This is a convenience method that creates an instance of theDimension.Builder
avoiding the need to create one manually viaDimension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(List<Dimension>)
.- Parameters:
dimensions
- a consumer that will call methods onDimension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectorValue
Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
- Parameters:
selectorValue
- Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-