Interface ConfigurableUpfrontPricingTermConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurableUpfrontPricingTermConfiguration.Builder,,ConfigurableUpfrontPricingTermConfiguration> SdkBuilder<ConfigurableUpfrontPricingTermConfiguration.Builder,,ConfigurableUpfrontPricingTermConfiguration> SdkPojo
- Enclosing class:
ConfigurableUpfrontPricingTermConfiguration
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaDimension.builder().When the
Consumercompletes,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.
-