public static final class CfnFeature.VariationObjectProperty.Builder
extends java.lang.Object
CfnFeature.VariationObjectProperty
Constructor and Description |
---|
Builder() |
public CfnFeature.VariationObjectProperty.Builder variationName(java.lang.String variationName)
CfnFeature.VariationObjectProperty.getVariationName()
variationName
- A name for the variation. This parameter is required.
It can include up to 127 characters.this
public CfnFeature.VariationObjectProperty.Builder booleanValue(java.lang.Boolean booleanValue)
CfnFeature.VariationObjectProperty.getBooleanValue()
booleanValue
- The value assigned to this variation, if the variation type is boolean.this
public CfnFeature.VariationObjectProperty.Builder booleanValue(IResolvable booleanValue)
CfnFeature.VariationObjectProperty.getBooleanValue()
booleanValue
- The value assigned to this variation, if the variation type is boolean.this
public CfnFeature.VariationObjectProperty.Builder doubleValue(java.lang.Number doubleValue)
CfnFeature.VariationObjectProperty.getDoubleValue()
doubleValue
- The value assigned to this variation, if the variation type is a double.this
public CfnFeature.VariationObjectProperty.Builder longValue(java.lang.Number longValue)
CfnFeature.VariationObjectProperty.getLongValue()
longValue
- The value assigned to this variation, if the variation type is a long.this
public CfnFeature.VariationObjectProperty.Builder stringValue(java.lang.String stringValue)
CfnFeature.VariationObjectProperty.getStringValue()
stringValue
- The value assigned to this variation, if the variation type is a string.this
public CfnFeature.VariationObjectProperty build()
CfnFeature.VariationObjectProperty
java.lang.NullPointerException
- if any required attribute was not provided