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