@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldValue extends Object implements Serializable, Cloneable, StructuredPojo
Object for case field values.
Constructor and Description |
---|
FieldValue() |
Modifier and Type | Method and Description |
---|---|
FieldValue |
clone() |
boolean |
equals(Object obj) |
String |
getId()
Unique identifier of a field.
|
FieldValueUnion |
getValue()
Union of potential field value types.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
Unique identifier of a field.
|
void |
setValue(FieldValueUnion value)
Union of potential field value types.
|
String |
toString()
Returns a string representation of this object.
|
FieldValue |
withId(String id)
Unique identifier of a field.
|
FieldValue |
withValue(FieldValueUnion value)
Union of potential field value types.
|
public void setId(String id)
Unique identifier of a field.
id
- Unique identifier of a field.public String getId()
Unique identifier of a field.
public FieldValue withId(String id)
Unique identifier of a field.
id
- Unique identifier of a field.public void setValue(FieldValueUnion value)
Union of potential field value types.
value
- Union of potential field value types.public FieldValueUnion getValue()
Union of potential field value types.
public FieldValue withValue(FieldValueUnion value)
Union of potential field value types.
value
- Union of potential field value types.public String toString()
toString
in class Object
Object.toString()
public FieldValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.