@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.
The Summary
system field accepts 1500 characters while all other fields accept 500 characters.
Constructor and Description |
---|
FieldValueUnion() |
Modifier and Type | Method and Description |
---|---|
FieldValueUnion |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBooleanValue()
Can be either null, or have a Boolean value type.
|
Double |
getDoubleValue()
Can be either null, or have a Double number value type.
|
EmptyFieldValue |
getEmptyValue()
An empty value.
|
String |
getStringValue()
String value type.
|
String |
getUserArnValue()
Represents the user that performed the audit.
|
int |
hashCode() |
Boolean |
isBooleanValue()
Can be either null, or have a Boolean value type.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBooleanValue(Boolean booleanValue)
Can be either null, or have a Boolean value type.
|
void |
setDoubleValue(Double doubleValue)
Can be either null, or have a Double number value type.
|
void |
setEmptyValue(EmptyFieldValue emptyValue)
An empty value.
|
void |
setStringValue(String stringValue)
String value type.
|
void |
setUserArnValue(String userArnValue)
Represents the user that performed the audit.
|
String |
toString()
Returns a string representation of this object.
|
FieldValueUnion |
withBooleanValue(Boolean booleanValue)
Can be either null, or have a Boolean value type.
|
FieldValueUnion |
withDoubleValue(Double doubleValue)
Can be either null, or have a Double number value type.
|
FieldValueUnion |
withEmptyValue(EmptyFieldValue emptyValue)
An empty value.
|
FieldValueUnion |
withStringValue(String stringValue)
String value type.
|
FieldValueUnion |
withUserArnValue(String userArnValue)
Represents the user that performed the audit.
|
public void setBooleanValue(Boolean booleanValue)
Can be either null, or have a Boolean value type. Only one value can be provided.
booleanValue
- Can be either null, or have a Boolean value type. Only one value can be provided.public Boolean getBooleanValue()
Can be either null, or have a Boolean value type. Only one value can be provided.
public FieldValueUnion withBooleanValue(Boolean booleanValue)
Can be either null, or have a Boolean value type. Only one value can be provided.
booleanValue
- Can be either null, or have a Boolean value type. Only one value can be provided.public Boolean isBooleanValue()
Can be either null, or have a Boolean value type. Only one value can be provided.
public void setDoubleValue(Double doubleValue)
Can be either null, or have a Double number value type. Only one value can be provided.
doubleValue
- Can be either null, or have a Double number value type. Only one value can be provided.public Double getDoubleValue()
Can be either null, or have a Double number value type. Only one value can be provided.
public FieldValueUnion withDoubleValue(Double doubleValue)
Can be either null, or have a Double number value type. Only one value can be provided.
doubleValue
- Can be either null, or have a Double number value type. Only one value can be provided.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 void setUserArnValue(String userArnValue)
Represents the user that performed the audit.
userArnValue
- Represents the user that performed the audit.public String getUserArnValue()
Represents the user that performed the audit.
public FieldValueUnion withUserArnValue(String userArnValue)
Represents the user that performed the audit.
userArnValue
- Represents the user that performed the audit.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.