Class CfnDatasetGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.forecast.CfnDatasetGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetGroupMixinProps>
- Enclosing interface:
CfnDatasetGroupMixinProps
@Stability(Stable)
public static final class CfnDatasetGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetGroupMixinProps>
A builder for
CfnDatasetGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetArns(List<String> datasetArns) Sets the value ofCfnDatasetGroupMixinProps.getDatasetArns()datasetGroupName(String datasetGroupName) Sets the value ofCfnDatasetGroupMixinProps.getDatasetGroupName()Sets the value ofCfnDatasetGroupMixinProps.getDomain()Sets the value ofCfnDatasetGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetArns
Sets the value ofCfnDatasetGroupMixinProps.getDatasetArns()- Parameters:
datasetArns- An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.- Returns:
this
-
datasetGroupName
@Stability(Stable) public CfnDatasetGroupMixinProps.Builder datasetGroupName(String datasetGroupName) Sets the value ofCfnDatasetGroupMixinProps.getDatasetGroupName()- Parameters:
datasetGroupName- The name of the dataset group.- Returns:
this
-
domain
Sets the value ofCfnDatasetGroupMixinProps.getDomain()- Parameters:
domain- The domain associated with the dataset group. When you add a dataset to a dataset group, this value and the value specified for theDomainparameter of the CreateDataset operation must match.The
DomainandDatasetTypethat you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose theRETAILdomain andTARGET_TIME_SERIESas theDatasetType, Amazon Forecast requires thatitem_id,timestamp, anddemandfields are present in your data. For more information, see Dataset groups .- Returns:
this
-
tags
Sets the value ofCfnDatasetGroupMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetGroupMixinProps>- Returns:
- a new instance of
CfnDatasetGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-