Interface VariationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VariationConfig.Builder,,VariationConfig> SdkBuilder<VariationConfig.Builder,,VariationConfig> SdkPojo
- Enclosing class:
VariationConfig
public static interface VariationConfig.Builder
extends SdkPojo, CopyableBuilder<VariationConfig.Builder,VariationConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the variation.default VariationConfig.Buildervalue(Consumer<VariableValue.Builder> value) The value assigned to this variation.value(VariableValue value) The value assigned to this variation.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
-
name
The name of the variation.
- Parameters:
name- The name of the variation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value assigned to this variation.
- Parameters:
value- The value assigned to this variation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value assigned to this variation.
This is a convenience method that creates an instance of theVariableValue.Builderavoiding the need to create one manually viaVariableValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(VariableValue).- Parameters:
value- a consumer that will call methods onVariableValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-