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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFeature.VariationObjectPropertystatic final classAn implementation forCfnFeature.VariationObjectProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe value assigned to this variation, if the variation type is boolean.default NumberThe value assigned to this variation, if the variation type is a double.default NumberThe value assigned to this variation, if the variation type is a long.default StringThe 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
-