@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. It is recommended to include the current timestamp in the name to guard
against getting a ResourceAlreadyExistsException
exception, for example,
20190721DatasetImport
.
datasetImportJobName
- The name for the dataset import job. It is recommended to include the current timestamp in the name to
guard against getting a ResourceAlreadyExistsException
exception, for example,
20190721DatasetImport
.public String getDatasetImportJobName()
The name for the dataset import job. It is recommended to include the current timestamp in the name to guard
against getting a ResourceAlreadyExistsException
exception, for example,
20190721DatasetImport
.
ResourceAlreadyExistsException
exception, for example,
20190721DatasetImport
.public CreateDatasetImportJobRequest withDatasetImportJobName(String datasetImportJobName)
The name for the dataset import job. It is recommended to include the current timestamp in the name to guard
against getting a ResourceAlreadyExistsException
exception, for example,
20190721DatasetImport
.
datasetImportJobName
- The name for the dataset import job. It is recommended to include the current timestamp in the name to
guard against getting a ResourceAlreadyExistsException
exception, for example,
20190721DatasetImport
.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.
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.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.
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.
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.public void setTimestampFormat(String timestampFormat)
The format of timestamps in the dataset. Two formats are supported, dependent on the DataFrequency
specified when the dataset was created.
"yyyy-MM-dd"
For data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
timestampFormat
- The format of timestamps in the dataset. Two formats are supported, dependent on the
DataFrequency
specified when the dataset was created.
"yyyy-MM-dd"
For data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
public String getTimestampFormat()
The format of timestamps in the dataset. Two formats are supported, dependent on the DataFrequency
specified when the dataset was created.
"yyyy-MM-dd"
For data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
DataFrequency
specified when the dataset was created.
"yyyy-MM-dd"
For data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
public CreateDatasetImportJobRequest withTimestampFormat(String timestampFormat)
The format of timestamps in the dataset. Two formats are supported, dependent on the DataFrequency
specified when the dataset was created.
"yyyy-MM-dd"
For data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
timestampFormat
- The format of timestamps in the dataset. Two formats are supported, dependent on the
DataFrequency
specified when the dataset was created.
"yyyy-MM-dd"
For data frequencies: Y, M, W, and D
"yyyy-MM-dd HH:mm:ss"
For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
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.