Class CfnSchema.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnSchema.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchema>
- Enclosing class:
CfnSchema
@Stability(Stable)
public static final class CfnSchema.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchema>
A fluent builder for
CfnSchema
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
checkpointVersion
(IResolvable checkpointVersion) Specify theVersionNumber
or theIsLatest
for setting the checkpoint for the schema.checkpointVersion
(CfnSchema.SchemaVersionProperty checkpointVersion) Specify theVersionNumber
or theIsLatest
for setting the checkpoint for the schema.compatibility
(String compatibility) The compatibility mode of the schema.static CfnSchema.Builder
dataFormat
(String dataFormat) The data format of the schema definition.description
(String description) A description of the schema if specified when created.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.registry
(IResolvable registry) The registry where a schema is stored.registry
(CfnSchema.RegistryProperty registry) The registry where a schema is stored.schemaDefinition
(String schemaDefinition) The schema definition using theDataFormat
setting forSchemaName
.AWS tags that contain a key value pair and may be searched by console, command line, or API.
-
Method Details
-
create
@Stability(Stable) public static CfnSchema.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSchema.Builder
.
-
compatibility
The compatibility mode of the schema.- Parameters:
compatibility
- The compatibility mode of the schema. This parameter is required.- Returns:
this
- See Also:
-
dataFormat
The data format of the schema definition.Currently only
AVRO
is supported.- Parameters:
dataFormat
- The data format of the schema definition. This parameter is required.- Returns:
this
- See Also:
-
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.No whitespace.
- Parameters:
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.- Returns:
this
- See Also:
-
checkpointVersion
Specify theVersionNumber
or theIsLatest
for setting the checkpoint for the schema.This is only required for updating a checkpoint.
- Parameters:
checkpointVersion
- Specify theVersionNumber
or theIsLatest
for setting the checkpoint for the schema. This parameter is required.- Returns:
this
- See Also:
-
checkpointVersion
@Stability(Stable) public CfnSchema.Builder checkpointVersion(CfnSchema.SchemaVersionProperty checkpointVersion) Specify theVersionNumber
or theIsLatest
for setting the checkpoint for the schema.This is only required for updating a checkpoint.
- Parameters:
checkpointVersion
- Specify theVersionNumber
or theIsLatest
for setting the checkpoint for the schema. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the schema if specified when created.- Parameters:
description
- A description of the schema if specified when created. This parameter is required.- Returns:
this
- See Also:
-
registry
The registry where a schema is stored.- Parameters:
registry
- The registry where a schema is stored. This parameter is required.- Returns:
this
- See Also:
-
registry
The registry where a schema is stored.- Parameters:
registry
- The registry where a schema is stored. This parameter is required.- Returns:
this
- See Also:
-
schemaDefinition
The schema definition using theDataFormat
setting forSchemaName
.- Parameters:
schemaDefinition
- The schema definition using theDataFormat
setting forSchemaName
. This parameter is required.- Returns:
this
- See Also:
-
tags
AWS tags that contain a key value pair and may be searched by console, command line, or API.- Parameters:
tags
- AWS tags that contain a key value pair and may be searched by console, command line, or API. This parameter is required.- Returns:
this
- See Also:
-
build
-