@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditEventFieldValueUnion extends Object implements Serializable, Cloneable, StructuredPojo
Object to store union of Field values.
Constructor and Description |
---|
AuditEventFieldValueUnion() |
Modifier and Type | Method and Description |
---|---|
AuditEventFieldValueUnion |
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 value type.
|
EmptyFieldValue |
getEmptyValue() |
String |
getStringValue()
Can be either null, or have a String value type.
|
String |
getUserArnValue()
Can be either null, or have a String value type formatted as an ARN.
|
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 value type.
|
void |
setEmptyValue(EmptyFieldValue emptyValue) |
void |
setStringValue(String stringValue)
Can be either null, or have a String value type.
|
void |
setUserArnValue(String userArnValue)
Can be either null, or have a String value type formatted as an ARN.
|
String |
toString()
Returns a string representation of this object.
|
AuditEventFieldValueUnion |
withBooleanValue(Boolean booleanValue)
Can be either null, or have a Boolean value type.
|
AuditEventFieldValueUnion |
withDoubleValue(Double doubleValue)
Can be either null, or have a Double value type.
|
AuditEventFieldValueUnion |
withEmptyValue(EmptyFieldValue emptyValue) |
AuditEventFieldValueUnion |
withStringValue(String stringValue)
Can be either null, or have a String value type.
|
AuditEventFieldValueUnion |
withUserArnValue(String userArnValue)
Can be either null, or have a String value type formatted as an ARN.
|
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 AuditEventFieldValueUnion 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 value type. Only one value can be provided.
doubleValue
- Can be either null, or have a Double value type. Only one value can be provided.public Double getDoubleValue()
Can be either null, or have a Double value type. Only one value can be provided.
public AuditEventFieldValueUnion withDoubleValue(Double doubleValue)
Can be either null, or have a Double value type. Only one value can be provided.
doubleValue
- Can be either null, or have a Double value type. Only one value can be provided.public void setEmptyValue(EmptyFieldValue emptyValue)
emptyValue
- public EmptyFieldValue getEmptyValue()
public AuditEventFieldValueUnion withEmptyValue(EmptyFieldValue emptyValue)
emptyValue
- public void setStringValue(String stringValue)
Can be either null, or have a String value type. Only one value can be provided.
stringValue
- Can be either null, or have a String value type. Only one value can be provided.public String getStringValue()
Can be either null, or have a String value type. Only one value can be provided.
public AuditEventFieldValueUnion withStringValue(String stringValue)
Can be either null, or have a String value type. Only one value can be provided.
stringValue
- Can be either null, or have a String value type. Only one value can be provided.public void setUserArnValue(String userArnValue)
Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.
userArnValue
- Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.public String getUserArnValue()
Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.
public AuditEventFieldValueUnion withUserArnValue(String userArnValue)
Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.
userArnValue
- Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.public String toString()
toString
in class Object
Object.toString()
public AuditEventFieldValueUnion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.