Class CfnSchema.SchemaVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnSchema.SchemaVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchema.SchemaVersionProperty>
- Enclosing interface:
CfnSchema.SchemaVersionProperty
@Stability(Stable)
public static final class CfnSchema.SchemaVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchema.SchemaVersionProperty>
A builder for
CfnSchema.SchemaVersionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnSchema.SchemaVersionProperty.getIsLatest()
isLatest
(IResolvable isLatest) Sets the value ofCfnSchema.SchemaVersionProperty.getIsLatest()
versionNumber
(Number versionNumber) Sets the value ofCfnSchema.SchemaVersionProperty.getVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isLatest
Sets the value ofCfnSchema.SchemaVersionProperty.getIsLatest()
- Parameters:
isLatest
- Indicates if this version is the latest version of the schema.- Returns:
this
-
isLatest
Sets the value ofCfnSchema.SchemaVersionProperty.getIsLatest()
- Parameters:
isLatest
- Indicates if this version is the latest version of the schema.- Returns:
this
-
versionNumber
@Stability(Stable) public CfnSchema.SchemaVersionProperty.Builder versionNumber(Number versionNumber) Sets the value ofCfnSchema.SchemaVersionProperty.getVersionNumber()
- Parameters:
versionNumber
- The version number of the schema.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSchema.SchemaVersionProperty>
- Returns:
- a new instance of
CfnSchema.SchemaVersionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-