@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 dataset field. 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.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
attributeType - The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
AttributeTypepublic String getAttributeType()
The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
AttributeTypepublic SchemaAttribute withAttributeType(String attributeType)
The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
attributeType - The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
AttributeTypepublic SchemaAttribute withAttributeType(AttributeType attributeType)
The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
attributeType - The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
AttributeTypepublic String toString()
toString in class ObjectObject.toString()public SchemaAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.