Class CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.scn.CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty>
- Enclosing interface:
CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty>
A builder for
CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.isRequired(Boolean isRequired) Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getIsRequired()isRequired(IResolvable isRequired) Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getIsRequired()Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getName()Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isRequired
@Stability(Stable) public CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.Builder isRequired(Boolean isRequired) Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getIsRequired()- Parameters:
isRequired- Indicate if the field is required or not.- Returns:
this
-
isRequired
@Stability(Stable) public CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.Builder isRequired(IResolvable isRequired) Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getIsRequired()- Parameters:
isRequired- Indicate if the field is required or not.- Returns:
this
-
name
@Stability(Stable) public CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.Builder name(String name) Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getName()- Parameters:
name- The dataset field name.- Returns:
this
-
type
@Stability(Stable) public CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.Builder type(String type) Sets the value ofCfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty.getType()- Parameters:
type- The dataset field type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.DataLakeDatasetSchemaFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-