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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurableUpfrontPricingTermConfiguration.Builderdimensions(Collection<Dimension> dimensions)Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.ConfigurableUpfrontPricingTermConfiguration.Builderdimensions(Consumer<Dimension.Builder>... dimensions)Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.ConfigurableUpfrontPricingTermConfiguration.Builderdimensions(Dimension... dimensions)Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.ConfigurableUpfrontPricingTermConfiguration.BuilderselectorValue(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, sdkFields
-
-
-
-
Method Detail
-
dimensions
ConfigurableUpfrontPricingTermConfiguration.Builder dimensions(Collection<Dimension> 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(Dimension... 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 to#dimensions(List.) - 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:
#dimensions(java.util.Collection)
-
selectorValue
ConfigurableUpfrontPricingTermConfiguration.Builder selectorValue(String 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.
-
-