public static interface DescribeDatasetResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeDatasetResponse.Builder |
creationTime(Instant creationTime)
When the dataset was created.
|
DescribeDatasetResponse.Builder |
dataFrequency(String dataFrequency)
The frequency of data collection.
|
DescribeDatasetResponse.Builder |
datasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
|
DescribeDatasetResponse.Builder |
datasetName(String datasetName)
The name of the dataset.
|
DescribeDatasetResponse.Builder |
datasetType(DatasetType datasetType)
The dataset type.
|
DescribeDatasetResponse.Builder |
datasetType(String datasetType)
The dataset type.
|
DescribeDatasetResponse.Builder |
domain(Domain domain)
The domain associated with the dataset.
|
DescribeDatasetResponse.Builder |
domain(String domain)
The domain associated with the dataset.
|
default DescribeDatasetResponse.Builder |
encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast
can assume to access the key.
|
DescribeDatasetResponse.Builder |
encryptionConfig(EncryptionConfig encryptionConfig)
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast
can assume to access the key.
|
DescribeDatasetResponse.Builder |
lastModificationTime(Instant lastModificationTime)
When you create a dataset,
LastModificationTime is the same as CreationTime. |
default DescribeDatasetResponse.Builder |
schema(Consumer<Schema.Builder> schema)
An array of
SchemaAttribute objects that specify the dataset fields. |
DescribeDatasetResponse.Builder |
schema(Schema schema)
An array of
SchemaAttribute objects that specify the dataset fields. |
DescribeDatasetResponse.Builder |
status(String status)
The status of the dataset.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeDatasetResponse.Builder datasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
datasetArn - The Amazon Resource Name (ARN) of the dataset.DescribeDatasetResponse.Builder datasetName(String datasetName)
The name of the dataset.
datasetName - The name of the dataset.DescribeDatasetResponse.Builder domain(String domain)
The domain associated with the dataset.
DescribeDatasetResponse.Builder domain(Domain domain)
The domain associated with the dataset.
DescribeDatasetResponse.Builder datasetType(String datasetType)
The dataset type.
datasetType - The dataset type.DatasetType,
DatasetTypeDescribeDatasetResponse.Builder datasetType(DatasetType datasetType)
The dataset type.
datasetType - The dataset type.DatasetType,
DatasetTypeDescribeDatasetResponse.Builder dataFrequency(String dataFrequency)
The frequency of data collection.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
dataFrequency - The frequency of data collection.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
DescribeDatasetResponse.Builder schema(Schema schema)
An array of SchemaAttribute objects that specify the dataset fields. Each
SchemaAttribute specifies the name and data type of a field.
schema - An array of SchemaAttribute objects that specify the dataset fields. Each
SchemaAttribute specifies the name and data type of a field.default DescribeDatasetResponse.Builder schema(Consumer<Schema.Builder> schema)
An array of SchemaAttribute objects that specify the dataset fields. Each
SchemaAttribute specifies the name and data type of a field.
Schema.Builder avoiding the need to
create one manually via Schema.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to schema(Schema).
schema - a consumer that will call methods on Schema.Builderschema(Schema)DescribeDatasetResponse.Builder encryptionConfig(EncryptionConfig encryptionConfig)
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
encryptionConfig - The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the key.default DescribeDatasetResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
This is a convenience method that creates an instance of theEncryptionConfig.Builder avoiding the
need to create one manually via EncryptionConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to encryptionConfig(EncryptionConfig).
encryptionConfig - a consumer that will call methods on EncryptionConfig.BuilderencryptionConfig(EncryptionConfig)DescribeDatasetResponse.Builder status(String status)
The status of the dataset. States include:
ACTIVE
CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED
The UPDATE states apply while data is imported to the dataset from a call to the CreateDatasetImportJob operation and reflect the status of the dataset import job. For example, when the
import job status is CREATE_IN_PROGRESS, the status of the dataset is
UPDATE_IN_PROGRESS.
The Status of the dataset must be ACTIVE before you can import training data.
status - The status of the dataset. States include:
ACTIVE
CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED
The UPDATE states apply while data is imported to the dataset from a call to the CreateDatasetImportJob operation and reflect the status of the dataset import job. For example,
when the import job status is CREATE_IN_PROGRESS, the status of the dataset is
UPDATE_IN_PROGRESS.
The Status of the dataset must be ACTIVE before you can import training
data.
DescribeDatasetResponse.Builder creationTime(Instant creationTime)
When the dataset was created.
creationTime - When the dataset was created.DescribeDatasetResponse.Builder lastModificationTime(Instant lastModificationTime)
When you create a dataset, LastModificationTime is the same as CreationTime. While
data is being imported to the dataset, LastModificationTime is the current time of the
DescribeDataset call. After a CreateDatasetImportJob operation has finished, LastModificationTime is when the import job
completed or failed.
lastModificationTime - When you create a dataset, LastModificationTime is the same as CreationTime.
While data is being imported to the dataset, LastModificationTime is the current time of
the DescribeDataset call. After a CreateDatasetImportJob operation has finished, LastModificationTime is when the
import job completed or failed.Copyright © 2023. All rights reserved.