@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.FieldType
public String getType()
The data type of the field.
FieldType
public Field withType(String type)
The data type of the field.
type
- The data type of the field.FieldType
public Field withType(FieldType type)
The data type of the field.
type
- The data type of the field.FieldType
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.