@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldValueUnion extends Object implements Serializable, Cloneable, StructuredPojo
Object to store union of Field values.
Constructor and Description |
---|
FieldValueUnion() |
Modifier and Type | Method and Description |
---|---|
FieldValueUnion |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBooleanValue()
A Boolean number value type.
|
Double |
getDoubleValue()
A Double number value type.
|
EmptyFieldValue |
getEmptyValue()
An empty value.
|
String |
getStringValue()
String value type.
|
int |
hashCode() |
Boolean |
isBooleanValue()
A Boolean number value type.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBooleanValue(Boolean booleanValue)
A Boolean number value type.
|
void |
setDoubleValue(Double doubleValue)
A Double number value type.
|
void |
setEmptyValue(EmptyFieldValue emptyValue)
An empty value.
|
void |
setStringValue(String stringValue)
String value type.
|
String |
toString()
Returns a string representation of this object.
|
FieldValueUnion |
withBooleanValue(Boolean booleanValue)
A Boolean number value type.
|
FieldValueUnion |
withDoubleValue(Double doubleValue)
A Double number value type.
|
FieldValueUnion |
withEmptyValue(EmptyFieldValue emptyValue)
An empty value.
|
FieldValueUnion |
withStringValue(String stringValue)
String value type.
|
public void setBooleanValue(Boolean booleanValue)
A Boolean number value type.
booleanValue
- A Boolean number value type.public Boolean getBooleanValue()
A Boolean number value type.
public FieldValueUnion withBooleanValue(Boolean booleanValue)
A Boolean number value type.
booleanValue
- A Boolean number value type.public Boolean isBooleanValue()
A Boolean number value type.
public void setDoubleValue(Double doubleValue)
A Double number value type.
doubleValue
- A Double number value type.public Double getDoubleValue()
A Double number value type.
public FieldValueUnion withDoubleValue(Double doubleValue)
A Double number value type.
doubleValue
- A Double number value type.public void setEmptyValue(EmptyFieldValue emptyValue)
An empty value.
emptyValue
- An empty value.public EmptyFieldValue getEmptyValue()
An empty value.
public FieldValueUnion withEmptyValue(EmptyFieldValue emptyValue)
An empty value.
emptyValue
- An empty value.public void setStringValue(String stringValue)
String value type.
stringValue
- String value type.public String getStringValue()
String value type.
public FieldValueUnion withStringValue(String stringValue)
String value type.
stringValue
- String value type.public String toString()
toString
in class Object
Object.toString()
public FieldValueUnion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.