@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchemaReference extends Object implements Serializable, Cloneable, StructuredPojo
An object that references a schema stored in the Glue Schema Registry.
Constructor and Description |
---|
SchemaReference() |
Modifier and Type | Method and Description |
---|---|
SchemaReference |
clone() |
boolean |
equals(Object obj) |
SchemaId |
getSchemaId()
A structure that contains schema identity fields.
|
String |
getSchemaVersionId()
The unique ID assigned to a version of the schema.
|
Long |
getSchemaVersionNumber()
The version number of the schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSchemaId(SchemaId schemaId)
A structure that contains schema identity fields.
|
void |
setSchemaVersionId(String schemaVersionId)
The unique ID assigned to a version of the schema.
|
void |
setSchemaVersionNumber(Long schemaVersionNumber)
The version number of the schema.
|
String |
toString()
Returns a string representation of this object.
|
SchemaReference |
withSchemaId(SchemaId schemaId)
A structure that contains schema identity fields.
|
SchemaReference |
withSchemaVersionId(String schemaVersionId)
The unique ID assigned to a version of the schema.
|
SchemaReference |
withSchemaVersionNumber(Long schemaVersionNumber)
The version number of the schema.
|
public void setSchemaId(SchemaId schemaId)
A structure that contains schema identity fields. Either this or the SchemaVersionId
has to be
provided.
schemaId
- A structure that contains schema identity fields. Either this or the SchemaVersionId
has to
be provided.public SchemaId getSchemaId()
A structure that contains schema identity fields. Either this or the SchemaVersionId
has to be
provided.
SchemaVersionId
has to
be provided.public SchemaReference withSchemaId(SchemaId schemaId)
A structure that contains schema identity fields. Either this or the SchemaVersionId
has to be
provided.
schemaId
- A structure that contains schema identity fields. Either this or the SchemaVersionId
has to
be provided.public void setSchemaVersionId(String schemaVersionId)
The unique ID assigned to a version of the schema. Either this or the SchemaId
has to be provided.
schemaVersionId
- The unique ID assigned to a version of the schema. Either this or the SchemaId
has to be
provided.public String getSchemaVersionId()
The unique ID assigned to a version of the schema. Either this or the SchemaId
has to be provided.
SchemaId
has to be
provided.public SchemaReference withSchemaVersionId(String schemaVersionId)
The unique ID assigned to a version of the schema. Either this or the SchemaId
has to be provided.
schemaVersionId
- The unique ID assigned to a version of the schema. Either this or the SchemaId
has to be
provided.public void setSchemaVersionNumber(Long schemaVersionNumber)
The version number of the schema.
schemaVersionNumber
- The version number of the schema.public Long getSchemaVersionNumber()
The version number of the schema.
public SchemaReference withSchemaVersionNumber(Long schemaVersionNumber)
The version number of the schema.
schemaVersionNumber
- The version number of the schema.public String toString()
toString
in class Object
Object.toString()
public SchemaReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.