@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.571Z") @Stability(value=Stable) public interface CfnSchemaProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSchemaProps.Builder
A builder for
CfnSchemaProps |
static class |
CfnSchemaProps.Jsii$Proxy
An implementation for
CfnSchemaProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSchemaProps.Builder |
builder() |
default Object |
getCheckpointVersion()
Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema.
|
String |
getCompatibility()
The compatibility mode of the schema.
|
String |
getDataFormat()
The data format of the schema definition.
|
default String |
getDescription()
A description of the schema if specified when created.
|
String |
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 Object |
getRegistry()
The registry where a schema is stored.
|
String |
getSchemaDefinition()
The schema definition using the `DataFormat` setting for `SchemaName` .
|
default List<CfnTag> |
getTags()
AWS tags that contain a key value pair and may be searched by console, command line, or API.
|
@Stability(value=Stable) @NotNull String getCompatibility()
@Stability(value=Stable) @NotNull String getDataFormat()
Currently only AVRO is supported.
@Stability(value=Stable) @NotNull String getName()
No whitespace.
@Stability(value=Stable) @NotNull String getSchemaDefinition()
@Stability(value=Stable) @Nullable default Object getCheckpointVersion()
This is only required for updating a checkpoint.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getRegistry()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnSchemaProps.Builder builder()
CfnSchemaProps.Builder of CfnSchemaPropsCopyright © 2022. All rights reserved.