@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataValue extends Object implements Serializable, Cloneable, StructuredPojo
An object that specifies a value for a property.
| Constructor and Description |
|---|
DataValue() |
| Modifier and Type | Method and Description |
|---|---|
DataValue |
addMapValueEntry(String key,
DataValue value)
Add a single MapValue entry
|
DataValue |
clearMapValueEntries()
Removes all the entries added into MapValue.
|
DataValue |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBooleanValue()
A Boolean value.
|
Double |
getDoubleValue()
A double value.
|
String |
getExpression()
An expression that produces the value.
|
Integer |
getIntegerValue()
An integer value.
|
List<DataValue> |
getListValue()
A list of multiple values.
|
Long |
getLongValue()
A long value.
|
Map<String,DataValue> |
getMapValue()
An object that maps strings to multiple
DataValue objects. |
RelationshipValue |
getRelationshipValue()
A value that relates a component to another component.
|
String |
getStringValue()
A string value.
|
int |
hashCode() |
Boolean |
isBooleanValue()
A Boolean value.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBooleanValue(Boolean booleanValue)
A Boolean value.
|
void |
setDoubleValue(Double doubleValue)
A double value.
|
void |
setExpression(String expression)
An expression that produces the value.
|
void |
setIntegerValue(Integer integerValue)
An integer value.
|
void |
setListValue(Collection<DataValue> listValue)
A list of multiple values.
|
void |
setLongValue(Long longValue)
A long value.
|
void |
setMapValue(Map<String,DataValue> mapValue)
An object that maps strings to multiple
DataValue objects. |
void |
setRelationshipValue(RelationshipValue relationshipValue)
A value that relates a component to another component.
|
void |
setStringValue(String stringValue)
A string value.
|
String |
toString()
Returns a string representation of this object.
|
DataValue |
withBooleanValue(Boolean booleanValue)
A Boolean value.
|
DataValue |
withDoubleValue(Double doubleValue)
A double value.
|
DataValue |
withExpression(String expression)
An expression that produces the value.
|
DataValue |
withIntegerValue(Integer integerValue)
An integer value.
|
DataValue |
withListValue(Collection<DataValue> listValue)
A list of multiple values.
|
DataValue |
withListValue(DataValue... listValue)
A list of multiple values.
|
DataValue |
withLongValue(Long longValue)
A long value.
|
DataValue |
withMapValue(Map<String,DataValue> mapValue)
An object that maps strings to multiple
DataValue objects. |
DataValue |
withRelationshipValue(RelationshipValue relationshipValue)
A value that relates a component to another component.
|
DataValue |
withStringValue(String stringValue)
A string value.
|
public void setBooleanValue(Boolean booleanValue)
A Boolean value.
booleanValue - A Boolean value.public Boolean getBooleanValue()
A Boolean value.
public DataValue withBooleanValue(Boolean booleanValue)
A Boolean value.
booleanValue - A Boolean value.public Boolean isBooleanValue()
A Boolean value.
public void setDoubleValue(Double doubleValue)
A double value.
doubleValue - A double value.public Double getDoubleValue()
A double value.
public DataValue withDoubleValue(Double doubleValue)
A double value.
doubleValue - A double value.public void setIntegerValue(Integer integerValue)
An integer value.
integerValue - An integer value.public Integer getIntegerValue()
An integer value.
public DataValue withIntegerValue(Integer integerValue)
An integer value.
integerValue - An integer value.public void setLongValue(Long longValue)
A long value.
longValue - A long value.public Long getLongValue()
A long value.
public DataValue withLongValue(Long longValue)
A long value.
longValue - A long value.public void setStringValue(String stringValue)
A string value.
stringValue - A string value.public String getStringValue()
A string value.
public DataValue withStringValue(String stringValue)
A string value.
stringValue - A string value.public List<DataValue> getListValue()
A list of multiple values.
public void setListValue(Collection<DataValue> listValue)
A list of multiple values.
listValue - A list of multiple values.public DataValue withListValue(DataValue... listValue)
A list of multiple values.
NOTE: This method appends the values to the existing list (if any). Use
setListValue(java.util.Collection) or withListValue(java.util.Collection) if you want to
override the existing values.
listValue - A list of multiple values.public DataValue withListValue(Collection<DataValue> listValue)
A list of multiple values.
listValue - A list of multiple values.public Map<String,DataValue> getMapValue()
An object that maps strings to multiple DataValue objects.
DataValue objects.public void setMapValue(Map<String,DataValue> mapValue)
An object that maps strings to multiple DataValue objects.
mapValue - An object that maps strings to multiple DataValue objects.public DataValue withMapValue(Map<String,DataValue> mapValue)
An object that maps strings to multiple DataValue objects.
mapValue - An object that maps strings to multiple DataValue objects.public DataValue addMapValueEntry(String key, DataValue value)
public DataValue clearMapValueEntries()
public void setRelationshipValue(RelationshipValue relationshipValue)
A value that relates a component to another component.
relationshipValue - A value that relates a component to another component.public RelationshipValue getRelationshipValue()
A value that relates a component to another component.
public DataValue withRelationshipValue(RelationshipValue relationshipValue)
A value that relates a component to another component.
relationshipValue - A value that relates a component to another component.public void setExpression(String expression)
An expression that produces the value.
expression - An expression that produces the value.public String getExpression()
An expression that produces the value.
public DataValue withExpression(String expression)
An expression that produces the value.
expression - An expression that produces the value.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.