Interface CfnDatasetGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDatasetGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.810Z") @Stability(Stable) public interface CfnDatasetGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnDatasetGroup.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.forecast.*;
 CfnDatasetGroupProps cfnDatasetGroupProps = CfnDatasetGroupProps.builder()
         .datasetGroupName("datasetGroupName")
         .domain("domain")
         // the properties below are optional
         .datasetArns(List.of("datasetArns"))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getDatasetGroupName

      @Stability(Stable) @NotNull String getDatasetGroupName()
      The name of the dataset group.
    • getDomain

      @Stability(Stable) @NotNull String getDomain()
      The domain associated with the dataset group.

      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 .

    • getDatasetArns

      @Stability(Stable) @Nullable default List<String> getDatasetArns()
      An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnDatasetGroupProps.Builder builder()
      Returns:
      a CfnDatasetGroupProps.Builder of CfnDatasetGroupProps