Class CfnSchemaMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnSchemaMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaMixinProps>
- Enclosing interface:
CfnSchemaMixinProps
@Stability(Stable)
public static final class CfnSchemaMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchemaMixinProps>
A builder for
CfnSchemaMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.checkpointVersion(IResolvable checkpointVersion) Sets the value ofCfnSchemaMixinProps.getCheckpointVersion()checkpointVersion(CfnSchemaPropsMixin.SchemaVersionProperty checkpointVersion) Sets the value ofCfnSchemaMixinProps.getCheckpointVersion()compatibility(String compatibility) Sets the value ofCfnSchemaMixinProps.getCompatibility()dataFormat(String dataFormat) Sets the value ofCfnSchemaMixinProps.getDataFormat()description(String description) Sets the value ofCfnSchemaMixinProps.getDescription()Sets the value ofCfnSchemaMixinProps.getName()registry(IResolvable registry) Sets the value ofCfnSchemaMixinProps.getRegistry()registry(CfnSchemaPropsMixin.RegistryProperty registry) Sets the value ofCfnSchemaMixinProps.getRegistry()schemaDefinition(String schemaDefinition) Sets the value ofCfnSchemaMixinProps.getSchemaDefinition()Sets the value ofCfnSchemaMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkpointVersion
@Stability(Stable) public CfnSchemaMixinProps.Builder checkpointVersion(IResolvable checkpointVersion) Sets the value ofCfnSchemaMixinProps.getCheckpointVersion()- Parameters:
checkpointVersion- Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.- Returns:
this
-
checkpointVersion
@Stability(Stable) public CfnSchemaMixinProps.Builder checkpointVersion(CfnSchemaPropsMixin.SchemaVersionProperty checkpointVersion) Sets the value ofCfnSchemaMixinProps.getCheckpointVersion()- Parameters:
checkpointVersion- Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.- Returns:
this
-
compatibility
Sets the value ofCfnSchemaMixinProps.getCompatibility()- Parameters:
compatibility- The compatibility mode of the schema.- Returns:
this
-
dataFormat
Sets the value ofCfnSchemaMixinProps.getDataFormat()- Parameters:
dataFormat- The data format of the schema definition. Currently onlyAVROis supported.- Returns:
this
-
description
Sets the value ofCfnSchemaMixinProps.getDescription()- Parameters:
description- A description of the schema if specified when created.- Returns:
this
-
name
Sets the value ofCfnSchemaMixinProps.getName()- 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. No whitespace.- Returns:
this
-
registry
Sets the value ofCfnSchemaMixinProps.getRegistry()- Parameters:
registry- The registry where a schema is stored.- Returns:
this
-
registry
@Stability(Stable) public CfnSchemaMixinProps.Builder registry(CfnSchemaPropsMixin.RegistryProperty registry) Sets the value ofCfnSchemaMixinProps.getRegistry()- Parameters:
registry- The registry where a schema is stored.- Returns:
this
-
schemaDefinition
Sets the value ofCfnSchemaMixinProps.getSchemaDefinition()- Parameters:
schemaDefinition- The schema definition using theDataFormatsetting forSchemaName.- Returns:
this
-
tags
Sets the value ofCfnSchemaMixinProps.getTags()- Parameters:
tags- AWS tags that contain a key value pair and may be searched by console, command line, or API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaMixinProps>- Returns:
- a new instance of
CfnSchemaMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-