Interface CfnFeature.VariationObjectProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFeature.VariationObjectProperty.Jsii$Proxy
- Enclosing class:
- CfnFeature
@Stability(Stable)
public static interface CfnFeature.VariationObjectProperty
extends software.amazon.jsii.JsiiSerializable
This structure contains the name and variation value of one variation of a feature.
It can contain only one of the following parameters: BooleanValue
, DoubleValue
, LongValue
or StringValue
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.evidently.*; VariationObjectProperty variationObjectProperty = VariationObjectProperty.builder() .variationName("variationName") // the properties below are optional .booleanValue(false) .doubleValue(123) .longValue(123) .stringValue("stringValue") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFeature.VariationObjectProperty
static final class
An implementation forCfnFeature.VariationObjectProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The value assigned to this variation, if the variation type is boolean.default Number
The value assigned to this variation, if the variation type is a double.default Number
The value assigned to this variation, if the variation type is a long.default String
The value assigned to this variation, if the variation type is a string.A name for the variation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVariationName
A name for the variation.It can include up to 127 characters.
-
getBooleanValue
The value assigned to this variation, if the variation type is boolean. -
getDoubleValue
The value assigned to this variation, if the variation type is a double. -
getLongValue
The value assigned to this variation, if the variation type is a long. -
getStringValue
The value assigned to this variation, if the variation type is a string. -
builder
-