@Generated(value="software.amazon.awssdk:codegen") public final class DescribeDatasetResponse extends ForecastResponse implements ToCopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeDatasetResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeDatasetResponse.Builder |
builder() |
Instant |
creationTime()
When the dataset was created.
|
String |
dataFrequency()
The frequency of data collection.
|
String |
datasetArn()
The Amazon Resource Name (ARN) of the dataset.
|
String |
datasetName()
The name of the dataset.
|
DatasetType |
datasetType()
The dataset type.
|
String |
datasetTypeAsString()
The dataset type.
|
Domain |
domain()
The domain associated with the dataset.
|
String |
domainAsString()
The domain associated with the dataset.
|
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.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModificationTime()
When you create a dataset,
LastModificationTime is the same as CreationTime. |
Schema |
schema()
An array of
SchemaAttribute objects that specify the dataset fields. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeDatasetResponse.Builder> |
serializableBuilderClass() |
String |
status()
The status of the dataset.
|
DescribeDatasetResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String datasetArn()
The Amazon Resource Name (ARN) of the dataset.
public final String datasetName()
The name of the dataset.
public final Domain domain()
The domain associated with the dataset.
If the service returns an enum value that is not available in the current SDK version, domain will
return Domain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
Domainpublic final String domainAsString()
The domain associated with the dataset.
If the service returns an enum value that is not available in the current SDK version, domain will
return Domain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
Domainpublic final DatasetType datasetType()
The dataset type.
If the service returns an enum value that is not available in the current SDK version, datasetType will
return DatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
datasetTypeAsString().
DatasetTypepublic final String datasetTypeAsString()
The dataset type.
If the service returns an enum value that is not available in the current SDK version, datasetType will
return DatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
datasetTypeAsString().
DatasetTypepublic final 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.
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.
public final Schema schema()
An array of SchemaAttribute objects that specify the dataset fields. Each
SchemaAttribute specifies the name and data type of a field.
SchemaAttribute objects that specify the dataset fields. Each
SchemaAttribute specifies the name and data type of a field.public final 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.
public final 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.
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.
public final Instant creationTime()
When the dataset was created.
public final 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 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.public DescribeDatasetResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>toBuilder in class AwsResponsepublic static DescribeDatasetResponse.Builder builder()
public static Class<? extends DescribeDatasetResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.