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