Class SchemaReference
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.SchemaReference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SchemaReference.Builder,SchemaReference>
@Generated("software.amazon.awssdk:codegen") public final class SchemaReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SchemaReference.Builder,SchemaReference>
An object that references a schema stored in the Glue Schema Registry.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSchemaReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaReference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SchemaIdschemaId()A structure that contains schema identity fields.StringschemaVersionId()The unique ID assigned to a version of the schema.LongschemaVersionNumber()The version number of the schema.List<SdkField<?>>sdkFields()static Class<? extends SchemaReference.Builder>serializableBuilderClass()SchemaReference.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
schemaId
public final SchemaId schemaId()
A structure that contains schema identity fields. Either this or the
SchemaVersionIdhas to be provided.- Returns:
- A structure that contains schema identity fields. Either this or the
SchemaVersionIdhas to be provided.
-
schemaVersionId
public final String schemaVersionId()
The unique ID assigned to a version of the schema. Either this or the
SchemaIdhas to be provided.- Returns:
- The unique ID assigned to a version of the schema. Either this or the
SchemaIdhas to be provided.
-
schemaVersionNumber
public final Long schemaVersionNumber()
The version number of the schema.
- Returns:
- The version number of the schema.
-
toBuilder
public SchemaReference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SchemaReference.Builder,SchemaReference>
-
builder
public static SchemaReference.Builder builder()
-
serializableBuilderClass
public static Class<? extends SchemaReference.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-