@Stability(value=Stable)
public static interface CfnFeature.VariationObjectProperty
extends software.amazon.jsii.JsiiSerializable
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()
.booleanValue(false)
.doubleValue(123)
.longValue(123)
.stringValue("stringValue")
.variationName("variationName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFeature.VariationObjectProperty.Builder
A builder for
CfnFeature.VariationObjectProperty |
static class |
CfnFeature.VariationObjectProperty.Jsii$Proxy
An implementation for
CfnFeature.VariationObjectProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFeature.VariationObjectProperty.Builder |
builder() |
default Object |
getBooleanValue()
The value assigned to this variation, if the variation type is boolean.
|
default Number |
getDoubleValue()
The value assigned to this variation, if the variation type is a double.
|
default Number |
getLongValue()
The value assigned to this variation, if the variation type is a long.
|
default String |
getStringValue()
The value assigned to this variation, if the variation type is a string.
|
default String |
getVariationName()
A name for the variation.
|
@Stability(value=Stable) @Nullable default Object getBooleanValue()
@Stability(value=Stable) @Nullable default Number getDoubleValue()
@Stability(value=Stable) @Nullable default Number getLongValue()
@Stability(value=Stable) @Nullable default String getStringValue()
@Stability(value=Stable) @Nullable default String getVariationName()
It can include up to 127 characters.
@Stability(value=Stable) static CfnFeature.VariationObjectProperty.Builder builder()
Copyright © 2022. All rights reserved.