Interface DescribeDatasetImportJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDatasetImportJobResponse.Builder,
,DescribeDatasetImportJobResponse> ForecastResponse.Builder
,SdkBuilder<DescribeDatasetImportJobResponse.Builder,
,DescribeDatasetImportJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDatasetImportJobResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) When the dataset import job was created.datasetArn
(String datasetArn) The Amazon Resource Name (ARN) of the dataset that the training data was imported to.datasetImportJobArn
(String datasetImportJobArn) The ARN of the dataset import job.datasetImportJobName
(String datasetImportJobName) The name of the dataset import job.The size of the dataset in gigabytes (GB) after the import job has finished.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.estimatedTimeRemainingInMinutes
(Long estimatedTimeRemainingInMinutes) The estimated time remaining in minutes for the dataset import job to complete.fieldStatistics
(Map<String, Statistics> fieldStatistics) Statistical information about each field in the input data.The format of the imported data, CSV or PARQUET.geolocationFormat
(String geolocationFormat) The format of the geolocation attribute.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.timestampFormat
(String timestampFormat) The format of timestamps in the dataset.The single time zone applied to every item in the datasetuseGeolocationForTimeZone
(Boolean useGeolocationForTimeZone) WhetherTimeZone
is automatically derived from the geolocation attribute.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
datasetImportJobArn
The ARN of the dataset import job.
- Parameters:
datasetImportJobArn
- The ARN of the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
The Amazon Resource Name (ARN) of the dataset that the training data was imported to.
- Parameters:
datasetArn
- The Amazon Resource Name (ARN) of the dataset that the training data was imported to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
timestampFormat
- The format of timestamps in the dataset. The format that you specify depends on theDataFrequency
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
timeZone
The single time zone applied to every item in the dataset
- Parameters:
timeZone
- The single time zone applied to every item in the dataset- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useGeolocationForTimeZone
DescribeDatasetImportJobResponse.Builder useGeolocationForTimeZone(Boolean useGeolocationForTimeZone) Whether
TimeZone
is automatically derived from the geolocation attribute.- Parameters:
useGeolocationForTimeZone
- WhetherTimeZone
is automatically derived from the geolocation attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geolocationFormat
The format of the geolocation attribute. Valid Values:
"LAT_LONG"
and"CC_POSTALCODE"
.- Parameters:
geolocationFormat
- The format of the geolocation attribute. Valid Values:"LAT_LONG"
and"CC_POSTALCODE"
.- 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.
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.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
default DescribeDatasetImportJobResponse.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.
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:
-
estimatedTimeRemainingInMinutes
DescribeDatasetImportJobResponse.Builder estimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes) The estimated time remaining in minutes for the dataset import job to complete.
- Parameters:
estimatedTimeRemainingInMinutes
- The estimated time remaining in minutes for the dataset import job to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldStatistics
Statistical information about each field in the input data.
- Parameters:
fieldStatistics
- Statistical information about each field in the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSize
The size of the dataset in gigabytes (GB) after the import job has finished.
- Parameters:
dataSize
- The size of the dataset in gigabytes (GB) after the import job has finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
-
format
The format of the imported data, CSV or PARQUET.
- Parameters:
format
- The format of the imported data, CSV or PARQUET.- 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:
-