@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Datatype extends Object implements Serializable, Cloneable, StructuredPojo
A structure representing the datatype of the value.
Constructor and Description |
---|
Datatype() |
Modifier and Type | Method and Description |
---|---|
Datatype |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The datatype of the value.
|
String |
getLabel()
A label assigned to the datatype.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The datatype of the value.
|
void |
setLabel(String label)
A label assigned to the datatype.
|
String |
toString()
Returns a string representation of this object.
|
Datatype |
withId(String id)
The datatype of the value.
|
Datatype |
withLabel(String label)
A label assigned to the datatype.
|
public void setId(String id)
The datatype of the value.
id
- The datatype of the value.public String getId()
The datatype of the value.
public Datatype withId(String id)
The datatype of the value.
id
- The datatype of the value.public void setLabel(String label)
A label assigned to the datatype.
label
- A label assigned to the datatype.public String getLabel()
A label assigned to the datatype.
public Datatype withLabel(String label)
A label assigned to the datatype.
label
- A label assigned to the datatype.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.