@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlueSchema extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a user-defined schema when a schema cannot be determined by Glue.
Constructor and Description |
---|
GlueSchema() |
Modifier and Type | Method and Description |
---|---|
GlueSchema |
clone() |
boolean |
equals(Object obj) |
List<GlueStudioSchemaColumn> |
getColumns()
Specifies the column definitions that make up a Glue schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumns(Collection<GlueStudioSchemaColumn> columns)
Specifies the column definitions that make up a Glue schema.
|
String |
toString()
Returns a string representation of this object.
|
GlueSchema |
withColumns(Collection<GlueStudioSchemaColumn> columns)
Specifies the column definitions that make up a Glue schema.
|
GlueSchema |
withColumns(GlueStudioSchemaColumn... columns)
Specifies the column definitions that make up a Glue schema.
|
public List<GlueStudioSchemaColumn> getColumns()
Specifies the column definitions that make up a Glue schema.
public void setColumns(Collection<GlueStudioSchemaColumn> columns)
Specifies the column definitions that make up a Glue schema.
columns
- Specifies the column definitions that make up a Glue schema.public GlueSchema withColumns(GlueStudioSchemaColumn... columns)
Specifies the column definitions that make up a Glue schema.
NOTE: This method appends the values to the existing list (if any). Use
setColumns(java.util.Collection)
or withColumns(java.util.Collection)
if you want to override
the existing values.
columns
- Specifies the column definitions that make up a Glue schema.public GlueSchema withColumns(Collection<GlueStudioSchemaColumn> columns)
Specifies the column definitions that make up a Glue schema.
columns
- Specifies the column definitions that make up a Glue schema.public String toString()
toString
in class Object
Object.toString()
public GlueSchema clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.