Interface DatasetImportJobSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>,SdkBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>,SdkPojo
- Enclosing class:
- DatasetImportJobSummary
public static interface DatasetImportJobSummary.Builder extends SdkPojo, CopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DatasetImportJobSummary.BuildercreationTime(Instant creationTime)When the dataset import job was created.DatasetImportJobSummary.BuilderdatasetImportJobArn(String datasetImportJobArn)The Amazon Resource Name (ARN) of the dataset import job.DatasetImportJobSummary.BuilderdatasetImportJobName(String datasetImportJobName)The name of the dataset import job.default DatasetImportJobSummary.BuilderdataSource(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.DatasetImportJobSummary.BuilderdataSource(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.DatasetImportJobSummary.BuilderimportMode(String importMode)The import mode of the dataset import job, FULL or INCREMENTAL.DatasetImportJobSummary.BuilderimportMode(ImportMode importMode)The import mode of the dataset import job, FULL or INCREMENTAL.DatasetImportJobSummary.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.DatasetImportJobSummary.Buildermessage(String message)If an error occurred, an informational message about the error.DatasetImportJobSummary.Builderstatus(String status)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
datasetImportJobArn
DatasetImportJobSummary.Builder datasetImportJobArn(String 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
DatasetImportJobSummary.Builder datasetImportJobName(String 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
DatasetImportJobSummary.Builder 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. The training data must be stored in an Amazon S3 bucket.
If encryption is used,
DataSourceincludes 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,
DataSourceincludes an Key Management Service (KMS) key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
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. 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 theDataSourceincludes an Key Management Service (KMS) key.DataSource.Builderavoiding the need to create one manually viaDataSource.builder().When the
Consumercompletes,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:
dataSource(DataSource)
-
status
DatasetImportJobSummary.Builder status(String 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
DatasetImportJobSummary.Builder message(String 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
DatasetImportJobSummary.Builder creationTime(Instant 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
DatasetImportJobSummary.Builder lastModificationTime(Instant 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. -
ACTIVEorCREATE_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. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
importMode
DatasetImportJobSummary.Builder importMode(String 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,ImportMode
-
importMode
DatasetImportJobSummary.Builder importMode(ImportMode 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,ImportMode
-
-