Class CfnFeature.VariationObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.evidently.CfnFeature.VariationObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeature.VariationObjectProperty>
- Enclosing interface:
CfnFeature.VariationObjectProperty
@Stability(Stable)
public static final class CfnFeature.VariationObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeature.VariationObjectProperty>
A builder for
CfnFeature.VariationObjectProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(Boolean booleanValue) Sets the value ofCfnFeature.VariationObjectProperty.getBooleanValue()
booleanValue
(IResolvable booleanValue) Sets the value ofCfnFeature.VariationObjectProperty.getBooleanValue()
build()
Builds the configured instance.doubleValue
(Number doubleValue) Sets the value ofCfnFeature.VariationObjectProperty.getDoubleValue()
Sets the value ofCfnFeature.VariationObjectProperty.getLongValue()
stringValue
(String stringValue) Sets the value ofCfnFeature.VariationObjectProperty.getStringValue()
variationName
(String variationName) Sets the value ofCfnFeature.VariationObjectProperty.getVariationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
variationName
@Stability(Stable) public CfnFeature.VariationObjectProperty.Builder variationName(String variationName) Sets the value ofCfnFeature.VariationObjectProperty.getVariationName()
- Parameters:
variationName
- A name for the variation. This parameter is required. It can include up to 127 characters.- Returns:
this
-
booleanValue
@Stability(Stable) public CfnFeature.VariationObjectProperty.Builder booleanValue(Boolean booleanValue) Sets the value ofCfnFeature.VariationObjectProperty.getBooleanValue()
- Parameters:
booleanValue
- The value assigned to this variation, if the variation type is boolean.- Returns:
this
-
booleanValue
@Stability(Stable) public CfnFeature.VariationObjectProperty.Builder booleanValue(IResolvable booleanValue) Sets the value ofCfnFeature.VariationObjectProperty.getBooleanValue()
- Parameters:
booleanValue
- The value assigned to this variation, if the variation type is boolean.- Returns:
this
-
doubleValue
@Stability(Stable) public CfnFeature.VariationObjectProperty.Builder doubleValue(Number doubleValue) Sets the value ofCfnFeature.VariationObjectProperty.getDoubleValue()
- Parameters:
doubleValue
- The value assigned to this variation, if the variation type is a double.- Returns:
this
-
longValue
Sets the value ofCfnFeature.VariationObjectProperty.getLongValue()
- Parameters:
longValue
- The value assigned to this variation, if the variation type is a long.- Returns:
this
-
stringValue
@Stability(Stable) public CfnFeature.VariationObjectProperty.Builder stringValue(String stringValue) Sets the value ofCfnFeature.VariationObjectProperty.getStringValue()
- Parameters:
stringValue
- The value assigned to this variation, if the variation type is a string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFeature.VariationObjectProperty>
- Returns:
- a new instance of
CfnFeature.VariationObjectProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-