Class CfnSchemaVersionPropsMixin.SchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnSchemaVersionPropsMixin.SchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaVersionPropsMixin.SchemaProperty>
- Enclosing interface:
CfnSchemaVersionPropsMixin.SchemaProperty
@Stability(Stable)
public static final class CfnSchemaVersionPropsMixin.SchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchemaVersionPropsMixin.SchemaProperty>
A builder for
CfnSchemaVersionPropsMixin.SchemaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.registryName(String registryName) Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getRegistryName()Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getSchemaArn()schemaArn(ISchemaRef schemaArn) Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getSchemaArn()schemaName(String schemaName) Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getSchemaName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
registryName
@Stability(Stable) public CfnSchemaVersionPropsMixin.SchemaProperty.Builder registryName(String registryName) Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getRegistryName()- Parameters:
registryName- The name of the registry where the schema is stored. EitherSchemaArn, orSchemaNameandRegistryNamehas to be provided.- Returns:
this
-
schemaArn
@Stability(Stable) public CfnSchemaVersionPropsMixin.SchemaProperty.Builder schemaArn(String schemaArn) Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getSchemaArn()- Parameters:
schemaArn- The Amazon Resource Name (ARN) of the schema. EitherSchemaArn, orSchemaNameandRegistryNamehas to be provided.- Returns:
this
-
schemaArn
@Stability(Stable) public CfnSchemaVersionPropsMixin.SchemaProperty.Builder schemaArn(ISchemaRef schemaArn) Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getSchemaArn()- Parameters:
schemaArn- The Amazon Resource Name (ARN) of the schema. EitherSchemaArn, orSchemaNameandRegistryNamehas to be provided.- Returns:
this
-
schemaName
@Stability(Stable) public CfnSchemaVersionPropsMixin.SchemaProperty.Builder schemaName(String schemaName) Sets the value ofCfnSchemaVersionPropsMixin.SchemaProperty.getSchemaName()- Parameters:
schemaName- The name of the schema. EitherSchemaArn, orSchemaNameandRegistryNamehas to be provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaVersionPropsMixin.SchemaProperty>- Returns:
- a new instance of
CfnSchemaVersionPropsMixin.SchemaProperty - Throws:
NullPointerException- if any required attribute was not provided
-