Class DescribeDatasetResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.forecast.model.ForecastResponse
-
- software.amazon.awssdk.services.forecast.model.DescribeDatasetResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeDatasetResponse extends ForecastResponse implements ToCopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeDatasetResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeDatasetResponse.Builderbuilder()InstantcreationTime()When the dataset was created.StringdataFrequency()The frequency of data collection.StringdatasetArn()The Amazon Resource Name (ARN) of the dataset.StringdatasetName()The name of the dataset.DatasetTypedatasetType()The dataset type.StringdatasetTypeAsString()The dataset type.Domaindomain()The domain associated with the dataset.StringdomainAsString()The domain associated with the dataset.EncryptionConfigencryptionConfig()The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModificationTime()When you create a dataset,LastModificationTimeis the same asCreationTime.Schemaschema()An array ofSchemaAttributeobjects that specify the dataset fields.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeDatasetResponse.Builder>serializableBuilderClass()Stringstatus()The status of the dataset.DescribeDatasetResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.forecast.model.ForecastResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
datasetArn
public final String datasetArn()
The Amazon Resource Name (ARN) of the dataset.
- Returns:
- The Amazon Resource Name (ARN) of the dataset.
-
datasetName
public final String datasetName()
The name of the dataset.
- Returns:
- The name of the dataset.
-
domain
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,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- The domain associated with the dataset.
- See Also:
Domain
-
domainAsString
public 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,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- The domain associated with the dataset.
- See Also:
Domain
-
datasetType
public final DatasetType datasetType()
The dataset type.
If the service returns an enum value that is not available in the current SDK version,
datasetTypewill returnDatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatasetTypeAsString().- Returns:
- The dataset type.
- See Also:
DatasetType
-
datasetTypeAsString
public final String datasetTypeAsString()
The dataset type.
If the service returns an enum value that is not available in the current SDK version,
datasetTypewill returnDatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatasetTypeAsString().- Returns:
- The dataset type.
- See Also:
DatasetType
-
dataFrequency
public 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.
- Returns:
- 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.
-
schema
public final Schema schema()
An array of
SchemaAttributeobjects that specify the dataset fields. EachSchemaAttributespecifies the name and data type of a field.- Returns:
- An array of
SchemaAttributeobjects that specify the dataset fields. EachSchemaAttributespecifies the name and data type of a field.
-
encryptionConfig
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.
- Returns:
- The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
-
status
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
UPDATEstates 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 isCREATE_IN_PROGRESS, the status of the dataset isUPDATE_IN_PROGRESS.The
Statusof the dataset must beACTIVEbefore you can import training data.- Returns:
- 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
UPDATEstates 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 isCREATE_IN_PROGRESS, the status of the dataset isUPDATE_IN_PROGRESS.The
Statusof the dataset must beACTIVEbefore you can import training data. -
-
-
creationTime
public final Instant creationTime()
When the dataset was created.
- Returns:
- When the dataset was created.
-
lastModificationTime
public final Instant lastModificationTime()
When you create a dataset,
LastModificationTimeis the same asCreationTime. While data is being imported to the dataset,LastModificationTimeis the current time of theDescribeDatasetcall. After a CreateDatasetImportJob operation has finished,LastModificationTimeis when the import job completed or failed.- Returns:
- When you create a dataset,
LastModificationTimeis the same asCreationTime. While data is being imported to the dataset,LastModificationTimeis the current time of theDescribeDatasetcall. After a CreateDatasetImportJob operation has finished,LastModificationTimeis when the import job completed or failed.
-
toBuilder
public DescribeDatasetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeDatasetResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeDatasetResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-