@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Schema extends Object implements Serializable, Cloneable, StructuredPojo
Defines the fields of a dataset.
| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
clone() |
boolean |
equals(Object obj) |
List<SchemaAttribute> |
getAttributes()
An array of attributes specifying the name and type of each field in a dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttributes(Collection<SchemaAttribute> attributes)
An array of attributes specifying the name and type of each field in a dataset.
|
String |
toString()
Returns a string representation of this object.
|
Schema |
withAttributes(Collection<SchemaAttribute> attributes)
An array of attributes specifying the name and type of each field in a dataset.
|
Schema |
withAttributes(SchemaAttribute... attributes)
An array of attributes specifying the name and type of each field in a dataset.
|
public List<SchemaAttribute> getAttributes()
An array of attributes specifying the name and type of each field in a dataset.
public void setAttributes(Collection<SchemaAttribute> attributes)
An array of attributes specifying the name and type of each field in a dataset.
attributes - An array of attributes specifying the name and type of each field in a dataset.public Schema withAttributes(SchemaAttribute... attributes)
An array of attributes specifying the name and type of each field in a dataset.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection) or withAttributes(java.util.Collection) if you want to
override the existing values.
attributes - An array of attributes specifying the name and type of each field in a dataset.public Schema withAttributes(Collection<SchemaAttribute> attributes)
An array of attributes specifying the name and type of each field in a dataset.
attributes - An array of attributes specifying the name and type of each field in a dataset.public 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.