@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VariableValue extends Object implements Serializable, Cloneable, StructuredPojo
The value assigned to a feature variation. This structure must contain exactly one field. It can be
boolValue
, doubleValue
, longValue
, or stringValue
.
Constructor and Description |
---|
VariableValue() |
Modifier and Type | Method and Description |
---|---|
VariableValue |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBoolValue()
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
|
Double |
getDoubleValue()
If this feature uses the double integer variation type, this field contains the double integer value of this
variation.
|
Long |
getLongValue()
If this feature uses the long variation type, this field contains the long value of this variation.
|
String |
getStringValue()
If this feature uses the string variation type, this field contains the string value of this variation.
|
int |
hashCode() |
Boolean |
isBoolValue()
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBoolValue(Boolean boolValue)
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
|
void |
setDoubleValue(Double doubleValue)
If this feature uses the double integer variation type, this field contains the double integer value of this
variation.
|
void |
setLongValue(Long longValue)
If this feature uses the long variation type, this field contains the long value of this variation.
|
void |
setStringValue(String stringValue)
If this feature uses the string variation type, this field contains the string value of this variation.
|
String |
toString()
Returns a string representation of this object.
|
VariableValue |
withBoolValue(Boolean boolValue)
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
|
VariableValue |
withDoubleValue(Double doubleValue)
If this feature uses the double integer variation type, this field contains the double integer value of this
variation.
|
VariableValue |
withLongValue(Long longValue)
If this feature uses the long variation type, this field contains the long value of this variation.
|
VariableValue |
withStringValue(String stringValue)
If this feature uses the string variation type, this field contains the string value of this variation.
|
public void setBoolValue(Boolean boolValue)
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
boolValue
- If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.public Boolean getBoolValue()
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
public VariableValue withBoolValue(Boolean boolValue)
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
boolValue
- If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.public Boolean isBoolValue()
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
public void setDoubleValue(Double doubleValue)
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
doubleValue
- If this feature uses the double integer variation type, this field contains the double integer value of
this variation.public Double getDoubleValue()
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
public VariableValue withDoubleValue(Double doubleValue)
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
doubleValue
- If this feature uses the double integer variation type, this field contains the double integer value of
this variation.public void setLongValue(Long longValue)
If this feature uses the long variation type, this field contains the long value of this variation.
longValue
- If this feature uses the long variation type, this field contains the long value of this variation.public Long getLongValue()
If this feature uses the long variation type, this field contains the long value of this variation.
public VariableValue withLongValue(Long longValue)
If this feature uses the long variation type, this field contains the long value of this variation.
longValue
- If this feature uses the long variation type, this field contains the long value of this variation.public void setStringValue(String stringValue)
If this feature uses the string variation type, this field contains the string value of this variation.
stringValue
- If this feature uses the string variation type, this field contains the string value of this variation.public String getStringValue()
If this feature uses the string variation type, this field contains the string value of this variation.
public VariableValue withStringValue(String stringValue)
If this feature uses the string variation type, this field contains the string value of this variation.
stringValue
- If this feature uses the string variation type, this field contains the string value of this variation.public String toString()
toString
in class Object
Object.toString()
public VariableValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.