@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDatasetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDatasetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDataFrequency()
The frequency of data collection.
|
String |
getDatasetName()
A name for the dataset.
|
String |
getDatasetType()
The dataset type.
|
String |
getDomain()
The domain associated with the dataset.
|
EncryptionConfig |
getEncryptionConfig()
An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the key.
|
Schema |
getSchema()
The schema for the dataset.
|
int |
hashCode() |
void |
setDataFrequency(String dataFrequency)
The frequency of data collection.
|
void |
setDatasetName(String datasetName)
A name for the dataset.
|
void |
setDatasetType(String datasetType)
The dataset type.
|
void |
setDomain(String domain)
The domain associated with the dataset.
|
void |
setEncryptionConfig(EncryptionConfig encryptionConfig)
An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the key.
|
void |
setSchema(Schema schema)
The schema for the dataset.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetRequest |
withDataFrequency(String dataFrequency)
The frequency of data collection.
|
CreateDatasetRequest |
withDatasetName(String datasetName)
A name for the dataset.
|
CreateDatasetRequest |
withDatasetType(DatasetType datasetType)
The dataset type.
|
CreateDatasetRequest |
withDatasetType(String datasetType)
The dataset type.
|
CreateDatasetRequest |
withDomain(Domain domain)
The domain associated with the dataset.
|
CreateDatasetRequest |
withDomain(String domain)
The domain associated with the dataset.
|
CreateDatasetRequest |
withEncryptionConfig(EncryptionConfig encryptionConfig)
An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the key.
|
CreateDatasetRequest |
withSchema(Schema schema)
The schema for the dataset.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDatasetName(String datasetName)
A name for the dataset.
datasetName
- A name for the dataset.public String getDatasetName()
A name for the dataset.
public CreateDatasetRequest withDatasetName(String datasetName)
A name for the dataset.
datasetName
- A name for the dataset.public void setDomain(String domain)
The domain associated with the dataset. When you add a dataset to a dataset group, this value and the value
specified for the Domain
parameter of the CreateDatasetGroup operation must match.
The Domain
and DatasetType
that you choose determine the fields that must be present in
the training data that you import to the dataset. For example, if you choose the RETAIL
domain and
TARGET_TIME_SERIES
as the DatasetType
, Amazon Forecast requires item_id
,
timestamp
, and demand
fields to be present in your data. For more information, see
howitworks-datasets-groups.
domain
- The domain associated with the dataset. When you add a dataset to a dataset group, this value and the
value specified for the Domain
parameter of the CreateDatasetGroup operation must
match.
The Domain
and DatasetType
that you choose determine the fields that must be
present in the training data that you import to the dataset. For example, if you choose the
RETAIL
domain and TARGET_TIME_SERIES
as the DatasetType
, Amazon
Forecast requires item_id
, timestamp
, and demand
fields to be
present in your data. For more information, see howitworks-datasets-groups.
Domain
public String getDomain()
The domain associated with the dataset. When you add a dataset to a dataset group, this value and the value
specified for the Domain
parameter of the CreateDatasetGroup operation must match.
The Domain
and DatasetType
that you choose determine the fields that must be present in
the training data that you import to the dataset. For example, if you choose the RETAIL
domain and
TARGET_TIME_SERIES
as the DatasetType
, Amazon Forecast requires item_id
,
timestamp
, and demand
fields to be present in your data. For more information, see
howitworks-datasets-groups.
Domain
parameter of the CreateDatasetGroup operation must
match.
The Domain
and DatasetType
that you choose determine the fields that must be
present in the training data that you import to the dataset. For example, if you choose the
RETAIL
domain and TARGET_TIME_SERIES
as the DatasetType
, Amazon
Forecast requires item_id
, timestamp
, and demand
fields to be
present in your data. For more information, see howitworks-datasets-groups.
Domain
public CreateDatasetRequest withDomain(String domain)
The domain associated with the dataset. When you add a dataset to a dataset group, this value and the value
specified for the Domain
parameter of the CreateDatasetGroup operation must match.
The Domain
and DatasetType
that you choose determine the fields that must be present in
the training data that you import to the dataset. For example, if you choose the RETAIL
domain and
TARGET_TIME_SERIES
as the DatasetType
, Amazon Forecast requires item_id
,
timestamp
, and demand
fields to be present in your data. For more information, see
howitworks-datasets-groups.
domain
- The domain associated with the dataset. When you add a dataset to a dataset group, this value and the
value specified for the Domain
parameter of the CreateDatasetGroup operation must
match.
The Domain
and DatasetType
that you choose determine the fields that must be
present in the training data that you import to the dataset. For example, if you choose the
RETAIL
domain and TARGET_TIME_SERIES
as the DatasetType
, Amazon
Forecast requires item_id
, timestamp
, and demand
fields to be
present in your data. For more information, see howitworks-datasets-groups.
Domain
public CreateDatasetRequest withDomain(Domain domain)
The domain associated with the dataset. When you add a dataset to a dataset group, this value and the value
specified for the Domain
parameter of the CreateDatasetGroup operation must match.
The Domain
and DatasetType
that you choose determine the fields that must be present in
the training data that you import to the dataset. For example, if you choose the RETAIL
domain and
TARGET_TIME_SERIES
as the DatasetType
, Amazon Forecast requires item_id
,
timestamp
, and demand
fields to be present in your data. For more information, see
howitworks-datasets-groups.
domain
- The domain associated with the dataset. When you add a dataset to a dataset group, this value and the
value specified for the Domain
parameter of the CreateDatasetGroup operation must
match.
The Domain
and DatasetType
that you choose determine the fields that must be
present in the training data that you import to the dataset. For example, if you choose the
RETAIL
domain and TARGET_TIME_SERIES
as the DatasetType
, Amazon
Forecast requires item_id
, timestamp
, and demand
fields to be
present in your data. For more information, see howitworks-datasets-groups.
Domain
public void setDatasetType(String datasetType)
The dataset type. Valid values depend on the chosen Domain
.
datasetType
- The dataset type. Valid values depend on the chosen Domain
.DatasetType
public String getDatasetType()
The dataset type. Valid values depend on the chosen Domain
.
Domain
.DatasetType
public CreateDatasetRequest withDatasetType(String datasetType)
The dataset type. Valid values depend on the chosen Domain
.
datasetType
- The dataset type. Valid values depend on the chosen Domain
.DatasetType
public CreateDatasetRequest withDatasetType(DatasetType datasetType)
The dataset type. Valid values depend on the chosen Domain
.
datasetType
- The dataset type. Valid values depend on the chosen Domain
.DatasetType
public void setDataFrequency(String 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.
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.
public String getDataFrequency()
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.
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.
public CreateDatasetRequest withDataFrequency(String 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.
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.
public void setSchema(Schema schema)
The schema for the dataset. 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
howitworks-domains-ds-types.
schema
- The schema for the dataset. 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 howitworks-domains-ds-types.public Schema getSchema()
The schema for the dataset. 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
howitworks-domains-ds-types.
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 howitworks-domains-ds-types.public CreateDatasetRequest withSchema(Schema schema)
The schema for the dataset. 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
howitworks-domains-ds-types.
schema
- The schema for the dataset. 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 howitworks-domains-ds-types.public void setEncryptionConfig(EncryptionConfig encryptionConfig)
An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
encryptionConfig
- An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the key.public EncryptionConfig getEncryptionConfig()
An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
public CreateDatasetRequest withEncryptionConfig(EncryptionConfig encryptionConfig)
An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
encryptionConfig
- An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the key.public String toString()
toString
in class Object
Object.toString()
public CreateDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.