@Stability(value=Stable) public static final class CfnDatasetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDatasetProps>
CfnDatasetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDatasetProps |
build()
Builds the configured instance.
|
CfnDatasetProps.Builder |
dataFrequency(String dataFrequency)
Sets the value of
CfnDatasetProps.getDataFrequency() |
CfnDatasetProps.Builder |
datasetName(String datasetName)
Sets the value of
CfnDatasetProps.getDatasetName() |
CfnDatasetProps.Builder |
datasetType(String datasetType)
Sets the value of
CfnDatasetProps.getDatasetType() |
CfnDatasetProps.Builder |
domain(String domain)
Sets the value of
CfnDatasetProps.getDomain() |
CfnDatasetProps.Builder |
encryptionConfig(Object encryptionConfig)
Sets the value of
CfnDatasetProps.getEncryptionConfig() |
CfnDatasetProps.Builder |
schema(Object schema)
Sets the value of
CfnDatasetProps.getSchema() |
CfnDatasetProps.Builder |
tags(List<? extends Object> tags)
Sets the value of
CfnDatasetProps.getTags() |
@Stability(value=Stable) public CfnDatasetProps.Builder datasetName(String datasetName)
CfnDatasetProps.getDatasetName()datasetName - The name of the dataset. This parameter is required.this@Stability(value=Stable) public CfnDatasetProps.Builder datasetType(String datasetType)
CfnDatasetProps.getDatasetType()datasetType - The dataset type. This parameter is required.this@Stability(value=Stable) public CfnDatasetProps.Builder domain(String domain)
CfnDatasetProps.getDomain()domain - The domain associated with the dataset. This parameter is required.this@Stability(value=Stable) public CfnDatasetProps.Builder schema(Object schema)
CfnDatasetProps.getSchema()schema - The schema for the dataset. This parameter is required.
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 .this@Stability(value=Stable) public CfnDatasetProps.Builder dataFrequency(String dataFrequency)
CfnDatasetProps.getDataFrequency()dataFrequency - The frequency of data collection. This parameter is required for RELATED_TIME_SERIES datasets.
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.this@Stability(value=Stable) public CfnDatasetProps.Builder encryptionConfig(Object encryptionConfig)
CfnDatasetProps.getEncryptionConfig()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@Stability(value=Stable) public CfnDatasetProps.Builder tags(List<? extends Object> tags)
CfnDatasetProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnDatasetProps build()
build in interface software.amazon.jsii.Builder<CfnDatasetProps>CfnDatasetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.