@Stability(value=Stable) public static final class CfnDataset.Builder extends Object implements software.amazon.jsii.Builder<CfnDataset>
CfnDataset.| Modifier and Type | Method and Description |
|---|---|
CfnDataset |
build() |
static CfnDataset.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDataset.Builder |
dataFrequency(String dataFrequency)
The frequency of data collection.
|
CfnDataset.Builder |
datasetName(String datasetName)
The name of the dataset.
|
CfnDataset.Builder |
datasetType(String datasetType)
The dataset type.
|
CfnDataset.Builder |
domain(String domain)
The domain associated with the dataset.
|
CfnDataset.Builder |
encryptionConfig(Object encryptionConfig)
A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
|
CfnDataset.Builder |
schema(Object schema)
The schema for the dataset.
|
CfnDataset.Builder |
tags(List<? extends Object> tags)
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnDataset.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDataset.Builder.@Stability(value=Stable) public CfnDataset.Builder datasetName(String datasetName)
datasetName - The name of the dataset. This parameter is required.this@Stability(value=Stable) public CfnDataset.Builder datasetType(String datasetType)
datasetType - The dataset type. This parameter is required.this@Stability(value=Stable) public CfnDataset.Builder domain(String domain)
domain - The domain associated with the dataset. This parameter is required.this@Stability(value=Stable) public CfnDataset.Builder schema(Object schema)
The schema attributes and their order must match the fields in your data. The dataset Domain and DatasetType that you choose determine the minimum required fields in your training data. For information about the required fields for a specific dataset domain and type, see Dataset Domains and Dataset Types .
schema - The schema for the dataset. This parameter is required.this@Stability(value=Stable) public CfnDataset.Builder dataFrequency(String dataFrequency)
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "D" indicates every day and "15min" indicates every 15 minutes.
dataFrequency - The frequency of data collection. This parameter is required for RELATED_TIME_SERIES datasets. This parameter is required.this@Stability(value=Stable) public CfnDataset.Builder encryptionConfig(Object encryptionConfig)
encryptionConfig - A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. This parameter is required.this@Stability(value=Stable) public CfnDataset.Builder tags(List<? extends Object> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnDataset build()
build in interface software.amazon.jsii.Builder<CfnDataset>Copyright © 2022. All rights reserved.