Class CfnSchemaVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnSchemaVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaVersionMixinProps>
- Enclosing interface:
CfnSchemaVersionMixinProps
@Stability(Stable)
public static final class CfnSchemaVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchemaVersionMixinProps>
A builder for
CfnSchemaVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSchemaVersionMixinProps.getSchema()schema(IResolvable schema) Sets the value ofCfnSchemaVersionMixinProps.getSchema()schemaDefinition(String schemaDefinition) Sets the value ofCfnSchemaVersionMixinProps.getSchemaDefinition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schema
Sets the value ofCfnSchemaVersionMixinProps.getSchema()- Parameters:
schema- The schema that includes the schema version.- Returns:
this
-
schema
@Stability(Stable) public CfnSchemaVersionMixinProps.Builder schema(CfnSchemaVersionPropsMixin.SchemaProperty schema) Sets the value ofCfnSchemaVersionMixinProps.getSchema()- Parameters:
schema- The schema that includes the schema version.- Returns:
this
-
schemaDefinition
@Stability(Stable) public CfnSchemaVersionMixinProps.Builder schemaDefinition(String schemaDefinition) Sets the value ofCfnSchemaVersionMixinProps.getSchemaDefinition()- Parameters:
schemaDefinition- The schema definition for the schema version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaVersionMixinProps>- Returns:
- a new instance of
CfnSchemaVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-