Modifier and Type | Method and Description |
---|---|
CfnSchema |
build() |
CfnSchema.Builder |
checkpointVersion(CfnSchema.SchemaVersionProperty checkpointVersion)
Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema.
|
CfnSchema.Builder |
checkpointVersion(IResolvable checkpointVersion)
Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema.
|
CfnSchema.Builder |
compatibility(java.lang.String compatibility)
The compatibility mode of the schema.
|
static CfnSchema.Builder |
create(Construct scope,
java.lang.String id) |
CfnSchema.Builder |
dataFormat(java.lang.String dataFormat)
The data format of the schema definition.
|
CfnSchema.Builder |
description(java.lang.String description)
A description of the schema if specified when created.
|
CfnSchema.Builder |
name(java.lang.String name)
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.
|
CfnSchema.Builder |
registry(CfnSchema.RegistryProperty registry)
The registry where a schema is stored.
|
CfnSchema.Builder |
registry(IResolvable registry)
The registry where a schema is stored.
|
CfnSchema.Builder |
schemaDefinition(java.lang.String schemaDefinition)
The schema definition using the `DataFormat` setting for `SchemaName` .
|
CfnSchema.Builder |
tags(java.util.List<? extends CfnTag> tags)
AWS tags that contain a key value pair and may be searched by console, command line, or API.
|
public static CfnSchema.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnSchema.RegistryProperty.Builder
.public CfnSchema.Builder compatibility(java.lang.String compatibility)
compatibility
- The compatibility mode of the schema. This parameter is required.this
public CfnSchema.Builder dataFormat(java.lang.String dataFormat)
Currently only AVRO
is supported.
dataFormat
- The data format of the schema definition. This parameter is required.this
public CfnSchema.Builder name(java.lang.String name)
No whitespace.
name
- 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. This parameter is required.this
public CfnSchema.Builder schemaDefinition(java.lang.String schemaDefinition)
schemaDefinition
- The schema definition using the `DataFormat` setting for `SchemaName` . This parameter is required.this
public CfnSchema.Builder checkpointVersion(IResolvable checkpointVersion)
This is only required for updating a checkpoint.
checkpointVersion
- Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema. This parameter is required.this
public CfnSchema.Builder checkpointVersion(CfnSchema.SchemaVersionProperty checkpointVersion)
This is only required for updating a checkpoint.
checkpointVersion
- Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema. This parameter is required.this
public CfnSchema.Builder description(java.lang.String description)
description
- A description of the schema if specified when created. This parameter is required.this
public CfnSchema.Builder registry(IResolvable registry)
registry
- The registry where a schema is stored. This parameter is required.this
public CfnSchema.Builder registry(CfnSchema.RegistryProperty registry)
registry
- The registry where a schema is stored. This parameter is required.this
public CfnSchema.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- AWS tags that contain a key value pair and may be searched by console, command line, or API. This parameter is required.this
public CfnSchema build()