@Stability(value=Stable) public static final class CfnDatasetGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDatasetGroupProps>
CfnDatasetGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDatasetGroupProps |
build()
Builds the configured instance.
|
CfnDatasetGroupProps.Builder |
datasetArns(List<String> datasetArns)
Sets the value of
CfnDatasetGroupProps.getDatasetArns() |
CfnDatasetGroupProps.Builder |
datasetGroupName(String datasetGroupName)
Sets the value of
CfnDatasetGroupProps.getDatasetGroupName() |
CfnDatasetGroupProps.Builder |
domain(String domain)
Sets the value of
CfnDatasetGroupProps.getDomain() |
CfnDatasetGroupProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnDatasetGroupProps.getTags() |
@Stability(value=Stable) public CfnDatasetGroupProps.Builder datasetGroupName(String datasetGroupName)
CfnDatasetGroupProps.getDatasetGroupName()datasetGroupName - The name of the dataset group. This parameter is required.this@Stability(value=Stable) public CfnDatasetGroupProps.Builder domain(String domain)
CfnDatasetGroupProps.getDomain()domain - The domain associated with the dataset group. This parameter is required.
When you add a dataset to a dataset group, this value and the value specified for the Domain parameter of the CreateDataset operation must match.
The Domain and DatasetType that you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType , Amazon Forecast requires that item_id , timestamp , and demand fields are present in your data. For more information, see Dataset groups .
this@Stability(value=Stable) public CfnDatasetGroupProps.Builder datasetArns(List<String> datasetArns)
CfnDatasetGroupProps.getDatasetArns()datasetArns - An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.this@Stability(value=Stable) public CfnDatasetGroupProps.Builder tags(List<? extends CfnTag> tags)
CfnDatasetGroupProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnDatasetGroupProps build()
build in interface software.amazon.jsii.Builder<CfnDatasetGroupProps>CfnDatasetGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.