Interface CfnTable.SchemaReferenceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTable.SchemaReferenceProperty.Jsii$Proxy
Enclosing class:
CfnTable

@Stability(Stable) public static interface CfnTable.SchemaReferenceProperty extends software.amazon.jsii.JsiiSerializable
An object that references a schema stored in the AWS Glue Schema Registry.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 SchemaReferenceProperty schemaReferenceProperty = SchemaReferenceProperty.builder()
         .schemaId(SchemaIdProperty.builder()
                 .registryName("registryName")
                 .schemaArn("schemaArn")
                 .schemaName("schemaName")
                 .build())
         .schemaVersionId("schemaVersionId")
         .schemaVersionNumber(123)
         .build();
 
  • Method Details

    • getSchemaId

      @Stability(Stable) @Nullable default Object getSchemaId()
      A structure that contains schema identity fields.

      Either this or the SchemaVersionId has to be provided.

    • getSchemaVersionId

      @Stability(Stable) @Nullable default String getSchemaVersionId()
      The unique ID assigned to a version of the schema.

      Either this or the SchemaId has to be provided.

    • getSchemaVersionNumber

      @Stability(Stable) @Nullable default Number getSchemaVersionNumber()
      The version number of the schema.
    • builder

      @Stability(Stable) static CfnTable.SchemaReferenceProperty.Builder builder()
      Returns:
      a CfnTable.SchemaReferenceProperty.Builder of CfnTable.SchemaReferenceProperty