Class CfnTablePropsMixin.SchemaReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTablePropsMixin.SchemaReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.SchemaReferenceProperty>
- Enclosing interface:
CfnTablePropsMixin.SchemaReferenceProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.SchemaReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.SchemaReferenceProperty>
A builder for
CfnTablePropsMixin.SchemaReferenceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.schemaId(CfnTablePropsMixin.SchemaIdProperty schemaId) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaId()schemaId(IResolvable schemaId) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaId()schemaVersionId(String schemaVersionId) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaVersionId()schemaVersionNumber(Number schemaVersionNumber) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schemaId
@Stability(Stable) public CfnTablePropsMixin.SchemaReferenceProperty.Builder schemaId(IResolvable schemaId) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaId()- Parameters:
schemaId- A structure that contains schema identity fields. Either this or theSchemaVersionIdhas to be provided.- Returns:
this
-
schemaId
@Stability(Stable) public CfnTablePropsMixin.SchemaReferenceProperty.Builder schemaId(CfnTablePropsMixin.SchemaIdProperty schemaId) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaId()- Parameters:
schemaId- A structure that contains schema identity fields. Either this or theSchemaVersionIdhas to be provided.- Returns:
this
-
schemaVersionId
@Stability(Stable) public CfnTablePropsMixin.SchemaReferenceProperty.Builder schemaVersionId(String schemaVersionId) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaVersionId()- Parameters:
schemaVersionId- The unique ID assigned to a version of the schema. Either this or theSchemaIdhas to be provided.- Returns:
this
-
schemaVersionNumber
@Stability(Stable) public CfnTablePropsMixin.SchemaReferenceProperty.Builder schemaVersionNumber(Number schemaVersionNumber) Sets the value ofCfnTablePropsMixin.SchemaReferenceProperty.getSchemaVersionNumber()- Parameters:
schemaVersionNumber- The version number of the schema.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.SchemaReferenceProperty>- Returns:
- a new instance of
CfnTablePropsMixin.SchemaReferenceProperty - Throws:
NullPointerException- if any required attribute was not provided
-