@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Field extends Object implements Serializable, Cloneable, StructuredPojo
Describes the name and data type at a field.
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
Field |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the field.
|
String |
getType()
The data type of the field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the field.
|
void |
setType(String type)
The data type of the field.
|
String |
toString()
Returns a string representation of this object.
|
Field |
withName(String name)
The name of the field.
|
Field |
withType(FieldType type)
The data type of the field.
|
Field |
withType(String type)
The data type of the field.
|
public void setName(String name)
The name of the field.
name - The name of the field.public String getName()
The name of the field.
public Field withName(String name)
The name of the field.
name - The name of the field.public void setType(String type)
The data type of the field.
type - The data type of the field.FieldTypepublic String getType()
The data type of the field.
FieldTypepublic Field withType(String type)
The data type of the field.
type - The data type of the field.FieldTypepublic Field withType(FieldType type)
The data type of the field.
type - The data type of the field.FieldTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.