@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchemaAttribute extends Object implements Serializable, Cloneable, StructuredPojo
An attribute of a schema, which defines a field of a dataset. A schema attribute is required for every field in a
dataset. The Schema object contains an array of SchemaAttribute
objects.
Constructor and Description |
---|
SchemaAttribute() |
Modifier and Type | Method and Description |
---|---|
SchemaAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the dataset field.
|
String |
getAttributeType()
The data type of the field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the dataset field.
|
void |
setAttributeType(String attributeType)
The data type of the field.
|
String |
toString()
Returns a string representation of this object.
|
SchemaAttribute |
withAttributeName(String attributeName)
The name of the dataset field.
|
SchemaAttribute |
withAttributeType(AttributeType attributeType)
The data type of the field.
|
SchemaAttribute |
withAttributeType(String attributeType)
The data type of the field.
|
public void setAttributeName(String attributeName)
The name of the dataset field.
attributeName
- The name of the dataset field.public String getAttributeName()
The name of the dataset field.
public SchemaAttribute withAttributeName(String attributeName)
The name of the dataset field.
attributeName
- The name of the dataset field.public void setAttributeType(String attributeType)
The data type of the field.
attributeType
- The data type of the field.AttributeType
public String getAttributeType()
The data type of the field.
AttributeType
public SchemaAttribute withAttributeType(String attributeType)
The data type of the field.
attributeType
- The data type of the field.AttributeType
public SchemaAttribute withAttributeType(AttributeType attributeType)
The data type of the field.
attributeType
- The data type of the field.AttributeType
public String toString()
toString
in class Object
Object.toString()
public SchemaAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.