Class CfnDataset.AttributesItemsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.forecast.CfnDataset.AttributesItemsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.AttributesItemsProperty>
- Enclosing interface:
CfnDataset.AttributesItemsProperty
@Stability(Stable)
public static final class CfnDataset.AttributesItemsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.AttributesItemsProperty>
A builder for
CfnDataset.AttributesItemsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeName(String attributeName) Sets the value ofCfnDataset.AttributesItemsProperty.getAttributeName()attributeType(String attributeType) Sets the value ofCfnDataset.AttributesItemsProperty.getAttributeType()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeName
@Stability(Stable) public CfnDataset.AttributesItemsProperty.Builder attributeName(String attributeName) Sets the value ofCfnDataset.AttributesItemsProperty.getAttributeName()- Parameters:
attributeName- Name of the dataset field.- Returns:
this
-
attributeType
@Stability(Stable) public CfnDataset.AttributesItemsProperty.Builder attributeType(String attributeType) Sets the value ofCfnDataset.AttributesItemsProperty.getAttributeType()- Parameters:
attributeType- Data type of the field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.AttributesItemsProperty>- Returns:
- a new instance of
CfnDataset.AttributesItemsProperty - Throws:
NullPointerException- if any required attribute was not provided
-