Class CfnDatastore.ColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDatastore.ColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastore.ColumnProperty>
- Enclosing interface:
- CfnDatastore.ColumnProperty
@Stability(Stable)
public static final class CfnDatastore.ColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastore.ColumnProperty>
A builder for
CfnDatastore.ColumnProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDatastore.ColumnProperty.getName()
Sets the value ofCfnDatastore.ColumnProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDatastore.ColumnProperty.getName()
- Parameters:
name
- The name of the column. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnDatastore.ColumnProperty.getType()
- Parameters:
type
- The type of data. This parameter is required. For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatastore.ColumnProperty>
- Returns:
- a new instance of
CfnDatastore.ColumnProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-