@Generated(value="software.amazon.awssdk:codegen") public final class VariableValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VariableValue.Builder,VariableValue>
The value assigned to a feature variation. This structure must contain exactly one field. It can be
boolValue, doubleValue, longValue, or stringValue.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VariableValue.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
boolValue()
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
|
static VariableValue.Builder |
builder() |
Double |
doubleValue()
If this feature uses the double integer variation type, this field contains the double integer value of this
variation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
longValue()
If this feature uses the long variation type, this field contains the long value of this variation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VariableValue.Builder> |
serializableBuilderClass() |
String |
stringValue()
If this feature uses the string variation type, this field contains the string value of this variation.
|
VariableValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean boolValue()
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
public final Double doubleValue()
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
public final Long longValue()
If this feature uses the long variation type, this field contains the long value of this variation.
public final String stringValue()
If this feature uses the string variation type, this field contains the string value of this variation.
public VariableValue.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VariableValue.Builder,VariableValue>public static VariableValue.Builder builder()
public static Class<? extends VariableValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.