Class CfnSchemaPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnSchemaPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaPropsMixin>
- Enclosing class:
CfnSchemaPropsMixin
@Stability(Stable)
public static final class CfnSchemaPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchemaPropsMixin>
A fluent builder for
CfnSchemaPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()checkpointVersion(CfnSchemaPropsMixin.SchemaVersionProperty checkpointVersion) Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.checkpointVersion(IResolvable checkpointVersion) Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.compatibility(String compatibility) The compatibility mode of the schema.static CfnSchemaPropsMixin.Buildercreate()static CfnSchemaPropsMixin.Buildercreate(CfnPropertyMixinOptions options) 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(CfnSchemaPropsMixin.RegistryProperty registry) The registry where a schema is stored.registry(IResolvable registry) The registry where a schema is stored.schemaDefinition(String schemaDefinition) The schema definition using theDataFormatsetting 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 CfnSchemaPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSchemaPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSchemaPropsMixin.Builder.
-
checkpointVersion
@Stability(Stable) public CfnSchemaPropsMixin.Builder checkpointVersion(IResolvable checkpointVersion) Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.This is only required for updating a checkpoint.
- Parameters:
checkpointVersion- Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema. This parameter is required.- Returns:
this- See Also:
-
checkpointVersion
@Stability(Stable) public CfnSchemaPropsMixin.Builder checkpointVersion(CfnSchemaPropsMixin.SchemaVersionProperty checkpointVersion) Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.This is only required for updating a checkpoint.
- Parameters:
checkpointVersion- Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema. This parameter is required.- Returns:
this- See Also:
-
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
AVROis supported.- Parameters:
dataFormat- The data format of the schema definition. 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:
-
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:
-
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
@Stability(Stable) public CfnSchemaPropsMixin.Builder registry(CfnSchemaPropsMixin.RegistryProperty 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 theDataFormatsetting forSchemaName.- Parameters:
schemaDefinition- The schema definition using theDataFormatsetting 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
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaPropsMixin>- Returns:
- a newly built instance of
CfnSchemaPropsMixin.
-