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