Class CfnPartition.SchemaIdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnPartition.SchemaIdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartition.SchemaIdProperty>
- Enclosing interface:
CfnPartition.SchemaIdProperty
@Stability(Stable)
public static final class CfnPartition.SchemaIdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartition.SchemaIdProperty>
A builder for
CfnPartition.SchemaIdProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.registryName
(String registryName) Sets the value ofCfnPartition.SchemaIdProperty.getRegistryName()
Sets the value ofCfnPartition.SchemaIdProperty.getSchemaArn()
schemaName
(String schemaName) Sets the value ofCfnPartition.SchemaIdProperty.getSchemaName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
registryName
Sets the value ofCfnPartition.SchemaIdProperty.getRegistryName()
- Parameters:
registryName
- The name of the schema registry that contains the schema.- Returns:
this
-
schemaArn
Sets the value ofCfnPartition.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 ofCfnPartition.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<CfnPartition.SchemaIdProperty>
- Returns:
- a new instance of
CfnPartition.SchemaIdProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-