Class CfnTable.SchemaIdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTable.SchemaIdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.SchemaIdProperty>
- Enclosing interface:
CfnTable.SchemaIdProperty
@Stability(Stable)
public static final class CfnTable.SchemaIdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.SchemaIdProperty>
A builder for
CfnTable.SchemaIdProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.registryName
(String registryName) Sets the value ofCfnTable.SchemaIdProperty.getRegistryName()
Sets the value ofCfnTable.SchemaIdProperty.getSchemaArn()
schemaName
(String schemaName) Sets the value ofCfnTable.SchemaIdProperty.getSchemaName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
registryName
Sets the value ofCfnTable.SchemaIdProperty.getRegistryName()
- Parameters:
registryName
- The name of the schema registry that contains the schema.- Returns:
this
-
schemaArn
Sets the value ofCfnTable.SchemaIdProperty.getSchemaArn()
- Parameters:
schemaArn
- The Amazon Resource Name (ARN) of the schema. One ofSchemaArn
orSchemaName
has to be provided.- Returns:
this
-
schemaName
Sets the value ofCfnTable.SchemaIdProperty.getSchemaName()
- Parameters:
schemaName
- The name of the schema. One ofSchemaArn
orSchemaName
has to be provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.SchemaIdProperty>
- Returns:
- a new instance of
CfnTable.SchemaIdProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-