Class CfnDatasetPropsMixin.SchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.forecast.CfnDatasetPropsMixin.SchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.SchemaProperty>
- Enclosing interface:
CfnDatasetPropsMixin.SchemaProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.SchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.SchemaProperty>
A builder for
CfnDatasetPropsMixin.SchemaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(List<? extends Object> attributes) Sets the value ofCfnDatasetPropsMixin.SchemaProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnDatasetPropsMixin.SchemaProperty.getAttributes()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnDatasetPropsMixin.SchemaProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnDatasetPropsMixin.SchemaProperty.getAttributes()- Parameters:
attributes- An array of attributes specifying the name and type of each field in a dataset.- Returns:
this
-
attributes
@Stability(Stable) public CfnDatasetPropsMixin.SchemaProperty.Builder attributes(List<? extends Object> attributes) Sets the value ofCfnDatasetPropsMixin.SchemaProperty.getAttributes()- Parameters:
attributes- An array of attributes specifying the name and type of each field in a dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.SchemaProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.SchemaProperty - Throws:
NullPointerException- if any required attribute was not provided
-