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