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