Interface DatasetImportJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetImportJobSummary.Builder,
,DatasetImportJobSummary> SdkBuilder<DatasetImportJobSummary.Builder,
,DatasetImportJobSummary> SdkPojo
- Enclosing class:
DatasetImportJobSummary
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) When the dataset import job was created.datasetImportJobArn
(String datasetImportJobArn) The Amazon Resource Name (ARN) of the dataset import job.datasetImportJobName
(String datasetImportJobName) The name of the dataset import job.default DatasetImportJobSummary.Builder
dataSource
(Consumer<DataSource.Builder> dataSource) The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data.dataSource
(DataSource dataSource) The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data.importMode
(String importMode) The import mode of the dataset import job, FULL or INCREMENTAL.importMode
(ImportMode importMode) The import mode of the dataset import job, FULL or INCREMENTAL.lastModificationTime
(Instant lastModificationTime) The last time the resource was modified.If an error occurred, an informational message about the error.The status of the dataset import job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
datasetImportJobArn
The Amazon Resource Name (ARN) of the dataset import job.
- Parameters:
datasetImportJobArn
- The Amazon Resource Name (ARN) of the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetImportJobName
The name of the dataset import job.
- Parameters:
datasetImportJobName
- The name of the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The location of the training data to import and an 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
includes an Key Management Service (KMS) key.- Parameters:
dataSource
- The location of the training data to import and an 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
includes an Key Management Service (KMS) key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The location of the training data to import and an 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,
This is a convenience method that creates an instance of theDataSource
includes an Key Management Service (KMS) key.DataSource.Builder
avoiding the need to create one manually viaDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSource(DataSource)
.- Parameters:
dataSource
- a consumer that will call methods onDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the dataset import job. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
- Parameters:
status
- The status of the dataset import job. States include:-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
If an error occurred, an informational message about the error.
- Parameters:
message
- If an error occurred, an informational message about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the dataset import job was created.
- Parameters:
creationTime
- When the dataset import job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
- Parameters:
lastModificationTime
- The last time the resource was modified. The timestamp depends on the status of the job:-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
importMode
The import mode of the dataset import job, FULL or INCREMENTAL.
- Parameters:
importMode
- The import mode of the dataset import job, FULL or INCREMENTAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importMode
The import mode of the dataset import job, FULL or INCREMENTAL.
- Parameters:
importMode
- The import mode of the dataset import job, FULL or INCREMENTAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-