public static final class CfnDatasetGroup.Builder
extends java.lang.Object
CfnDatasetGroup
.Modifier and Type | Method and Description |
---|---|
CfnDatasetGroup |
build() |
static CfnDatasetGroup.Builder |
create(Construct scope,
java.lang.String id) |
CfnDatasetGroup.Builder |
datasetArns(java.util.List<java.lang.String> datasetArns)
An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
|
CfnDatasetGroup.Builder |
datasetGroupName(java.lang.String datasetGroupName)
The name of the dataset group.
|
CfnDatasetGroup.Builder |
domain(java.lang.String domain)
The domain associated with the dataset group.
|
CfnDatasetGroup.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
public static CfnDatasetGroup.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnDatasetGroup.Builder
.public CfnDatasetGroup.Builder datasetGroupName(java.lang.String datasetGroupName)
datasetGroupName
- The name of the dataset group. This parameter is required.this
public CfnDatasetGroup.Builder domain(java.lang.String domain)
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 .
domain
- The domain associated with the dataset group. This parameter is required.this
public CfnDatasetGroup.Builder datasetArns(java.util.List<java.lang.String> datasetArns)
datasetArns
- An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group. This parameter is required.this
public CfnDatasetGroup.Builder tags(java.util.List<? extends CfnTag> tags)
For more information, see Tag .
tags
- An array of key-value pairs to apply to this resource. This parameter is required.this
public CfnDatasetGroup build()