@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetImportJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDatasetImportJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDatasetImportJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetArn()
The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
|
String |
getDatasetImportJobName()
The name for the dataset import job.
|
DataSource |
getDataSource()
The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the data.
|
String |
getTimestampFormat()
The format of timestamps in the dataset.
|
int |
hashCode() |
void |
setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
|
void |
setDatasetImportJobName(String datasetImportJobName)
The name for the dataset import job.
|
void |
setDataSource(DataSource dataSource)
The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the data.
|
void |
setTimestampFormat(String timestampFormat)
The format of timestamps in the dataset.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetImportJobRequest |
withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
|
CreateDatasetImportJobRequest |
withDatasetImportJobName(String datasetImportJobName)
The name for the dataset import job.
|
CreateDatasetImportJobRequest |
withDataSource(DataSource dataSource)
The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the data.
|
CreateDatasetImportJobRequest |
withTimestampFormat(String timestampFormat)
The format of timestamps in 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 setDatasetImportJobName(String datasetImportJobName)
The name for the dataset import job. We recommend including the current timestamp in the name, for example,
20190721DatasetImport
. This can help you avoid getting a ResourceAlreadyExistsException
exception.
datasetImportJobName
- The name for the dataset import job. We recommend including the current timestamp in the name, for
example, 20190721DatasetImport
. This can help you avoid getting a
ResourceAlreadyExistsException
exception.public String getDatasetImportJobName()
The name for the dataset import job. We recommend including the current timestamp in the name, for example,
20190721DatasetImport
. This can help you avoid getting a ResourceAlreadyExistsException
exception.
20190721DatasetImport
. This can help you avoid getting a
ResourceAlreadyExistsException
exception.public CreateDatasetImportJobRequest withDatasetImportJobName(String datasetImportJobName)
The name for the dataset import job. We recommend including the current timestamp in the name, for example,
20190721DatasetImport
. This can help you avoid getting a ResourceAlreadyExistsException
exception.
datasetImportJobName
- The name for the dataset import job. We recommend including the current timestamp in the name, for
example, 20190721DatasetImport
. This can help you avoid getting a
ResourceAlreadyExistsException
exception.public void setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
datasetArn
- The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.public String getDatasetArn()
The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
public CreateDatasetImportJobRequest withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
datasetArn
- The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.public void setDataSource(DataSource dataSource)
The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.
If encryption is used, DataSource
must include an AWS Key Management Service (KMS) key and the IAM
role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must match those specified
in the EncryptionConfig
parameter of the CreateDataset operation.
dataSource
- The location of the training data to import and an AWS Identity and Access Management (IAM) role that
Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3
bucket.
If encryption is used, DataSource
must include an AWS Key Management Service (KMS) key and
the IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must match
those specified in the EncryptionConfig
parameter of the CreateDataset operation.
public DataSource getDataSource()
The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.
If encryption is used, DataSource
must include an AWS Key Management Service (KMS) key and the IAM
role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must match those specified
in the EncryptionConfig
parameter of the CreateDataset operation.
If encryption is used, DataSource
must include an AWS Key Management Service (KMS) key and
the IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must match
those specified in the EncryptionConfig
parameter of the CreateDataset operation.
public CreateDatasetImportJobRequest withDataSource(DataSource dataSource)
The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.
If encryption is used, DataSource
must include an AWS Key Management Service (KMS) key and the IAM
role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must match those specified
in the EncryptionConfig
parameter of the CreateDataset operation.
dataSource
- The location of the training data to import and an AWS Identity and Access Management (IAM) role that
Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3
bucket.
If encryption is used, DataSource
must include an AWS Key Management Service (KMS) key and
the IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must match
those specified in the EncryptionConfig
parameter of the CreateDataset operation.
public void setTimestampFormat(String timestampFormat)
The format of timestamps in the dataset. The format that you specify depends on the DataFrequency
specified when the dataset was created. The following formats are supported
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss".
timestampFormat
- The format of timestamps in the dataset. The format that you specify depends on the
DataFrequency
specified when the dataset was created. The following formats are supported
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss".
public String getTimestampFormat()
The format of timestamps in the dataset. The format that you specify depends on the DataFrequency
specified when the dataset was created. The following formats are supported
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss".
DataFrequency
specified when the dataset was created. The following formats are
supported
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss".
public CreateDatasetImportJobRequest withTimestampFormat(String timestampFormat)
The format of timestamps in the dataset. The format that you specify depends on the DataFrequency
specified when the dataset was created. The following formats are supported
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss".
timestampFormat
- The format of timestamps in the dataset. The format that you specify depends on the
DataFrequency
specified when the dataset was created. The following formats are supported
"yyyy-MM-dd"
For the following data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss".
public String toString()
toString
in class Object
Object.toString()
public CreateDatasetImportJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.