Class CfnSchemaVersionMetadataMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnSchemaVersionMetadataMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaVersionMetadataMixinProps>
- Enclosing interface:
CfnSchemaVersionMetadataMixinProps
@Stability(Stable)
public static final class CfnSchemaVersionMetadataMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchemaVersionMetadataMixinProps>
A builder for
CfnSchemaVersionMetadataMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSchemaVersionMetadataMixinProps.getKey()schemaVersionId(String schemaVersionId) Sets the value ofCfnSchemaVersionMetadataMixinProps.getSchemaVersionId()schemaVersionId(ISchemaVersionRef schemaVersionId) Sets the value ofCfnSchemaVersionMetadataMixinProps.getSchemaVersionId()Sets the value ofCfnSchemaVersionMetadataMixinProps.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnSchemaVersionMetadataMixinProps.getKey()- Parameters:
key- A metadata key in a key-value pair for metadata.- Returns:
this
-
schemaVersionId
@Stability(Stable) public CfnSchemaVersionMetadataMixinProps.Builder schemaVersionId(String schemaVersionId) Sets the value ofCfnSchemaVersionMetadataMixinProps.getSchemaVersionId()- Parameters:
schemaVersionId- The version number of the schema.- Returns:
this
-
schemaVersionId
@Stability(Stable) public CfnSchemaVersionMetadataMixinProps.Builder schemaVersionId(ISchemaVersionRef schemaVersionId) Sets the value ofCfnSchemaVersionMetadataMixinProps.getSchemaVersionId()- Parameters:
schemaVersionId- The version number of the schema.- Returns:
this
-
value
Sets the value ofCfnSchemaVersionMetadataMixinProps.getValue()- Parameters:
value- A metadata key's corresponding value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaVersionMetadataMixinProps>- Returns:
- a new instance of
CfnSchemaVersionMetadataMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-