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