Interface CfnSchemaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchemaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.463Z")
@Stability(Stable)
public interface CfnSchemaProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSchema.
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.*;
CfnSchemaProps cfnSchemaProps = CfnSchemaProps.builder()
.compatibility("compatibility")
.dataFormat("dataFormat")
.name("name")
.schemaDefinition("schemaDefinition")
// the properties below are optional
.checkpointVersion(SchemaVersionProperty.builder()
.isLatest(false)
.versionNumber(123)
.build())
.description("description")
.registry(RegistryProperty.builder()
.arn("arn")
.name("name")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSchemaPropsstatic final classAn implementation forCfnSchemaProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSchemaProps.Builderbuilder()default ObjectSpecify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.The compatibility mode of the schema.The data format of the schema definition.default StringA description of the schema if specified when created.getName()Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark.default ObjectThe registry where a schema is stored.The schema definition using theDataFormatsetting forSchemaName.getTags()AWS tags that contain a key value pair and may be searched by console, command line, or API.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCompatibility
The compatibility mode of the schema. -
getDataFormat
The data format of the schema definition.Currently only
AVROis supported. -
getName
Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark.No whitespace.
-
getSchemaDefinition
The schema definition using theDataFormatsetting forSchemaName. -
getCheckpointVersion
Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.This is only required for updating a checkpoint.
-
getDescription
A description of the schema if specified when created. -
getRegistry
The registry where a schema is stored. -
getTags
AWS tags that contain a key value pair and may be searched by console, command line, or API. -
builder
- Returns:
- a
CfnSchemaProps.BuilderofCfnSchemaProps
-