@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDatasetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDatasetResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDatasetResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the dataset was created.
|
String |
getDataFrequency()
The frequency of data collection.
|
String |
getDatasetArn()
The Amazon Resource Name (ARN) of the dataset.
|
String |
getDatasetName()
The name of the dataset.
|
String |
getDatasetType()
The dataset type.
|
String |
getDomain()
The domain associated with the dataset.
|
EncryptionConfig |
getEncryptionConfig()
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can
assume to access the key.
|
Date |
getLastModificationTime()
When you create a dataset,
LastModificationTime is the same as CreationTime . |
Schema |
getSchema()
An array of
SchemaAttribute objects that specify the dataset fields. |
String |
getStatus()
The status of the dataset.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
When the dataset was created.
|
void |
setDataFrequency(String dataFrequency)
The frequency of data collection.
|
void |
setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
|
void |
setDatasetName(String datasetName)
The name of the dataset.
|
void |
setDatasetType(String datasetType)
The dataset type.
|
void |
setDomain(String domain)
The domain associated with the dataset.
|
void |
setEncryptionConfig(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.
|
void |
setLastModificationTime(Date lastModificationTime)
When you create a dataset,
LastModificationTime is the same as CreationTime . |
void |
setSchema(Schema schema)
An array of
SchemaAttribute objects that specify the dataset fields. |
void |
setStatus(String status)
The status of the dataset.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDatasetResult |
withCreationTime(Date creationTime)
When the dataset was created.
|
DescribeDatasetResult |
withDataFrequency(String dataFrequency)
The frequency of data collection.
|
DescribeDatasetResult |
withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
|
DescribeDatasetResult |
withDatasetName(String datasetName)
The name of the dataset.
|
DescribeDatasetResult |
withDatasetType(DatasetType datasetType)
The dataset type.
|
DescribeDatasetResult |
withDatasetType(String datasetType)
The dataset type.
|
DescribeDatasetResult |
withDomain(Domain domain)
The domain associated with the dataset.
|
DescribeDatasetResult |
withDomain(String domain)
The domain associated with the dataset.
|
DescribeDatasetResult |
withEncryptionConfig(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.
|
DescribeDatasetResult |
withLastModificationTime(Date lastModificationTime)
When you create a dataset,
LastModificationTime is the same as CreationTime . |
DescribeDatasetResult |
withSchema(Schema schema)
An array of
SchemaAttribute objects that specify the dataset fields. |
DescribeDatasetResult |
withStatus(String status)
The status of the dataset.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
datasetArn
- The Amazon Resource Name (ARN) of the dataset.public String getDatasetArn()
The Amazon Resource Name (ARN) of the dataset.
public DescribeDatasetResult withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
datasetArn
- The Amazon Resource Name (ARN) of the dataset.public void setDatasetName(String datasetName)
The name of the dataset.
datasetName
- The name of the dataset.public String getDatasetName()
The name of the dataset.
public DescribeDatasetResult withDatasetName(String datasetName)
The name of the dataset.
datasetName
- The name of the dataset.public void setDomain(String domain)
The domain associated with the dataset.
domain
- The domain associated with the dataset.Domain
public String getDomain()
The domain associated with the dataset.
Domain
public DescribeDatasetResult withDomain(String domain)
The domain associated with the dataset.
domain
- The domain associated with the dataset.Domain
public DescribeDatasetResult withDomain(Domain domain)
The domain associated with the dataset.
domain
- The domain associated with the dataset.Domain
public void setDatasetType(String datasetType)
The dataset type.
datasetType
- The dataset type.DatasetType
public String getDatasetType()
The dataset type.
DatasetType
public DescribeDatasetResult withDatasetType(String datasetType)
The dataset type.
datasetType
- The dataset type.DatasetType
public DescribeDatasetResult withDatasetType(DatasetType datasetType)
The dataset type.
datasetType
- The dataset type.DatasetType
public void setDataFrequency(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.
public String getDataFrequency()
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 DescribeDatasetResult withDataFrequency(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.
public void setSchema(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.public Schema getSchema()
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 DescribeDatasetResult withSchema(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.public void setEncryptionConfig(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.public EncryptionConfig getEncryptionConfig()
The Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
public DescribeDatasetResult withEncryptionConfig(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.public void setStatus(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.
public String getStatus()
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 DescribeDatasetResult withStatus(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.
public void setCreationTime(Date creationTime)
When the dataset was created.
creationTime
- When the dataset was created.public Date getCreationTime()
When the dataset was created.
public DescribeDatasetResult withCreationTime(Date creationTime)
When the dataset was created.
creationTime
- When the dataset was created.public void setLastModificationTime(Date 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.public Date getLastModificationTime()
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 DescribeDatasetResult withLastModificationTime(Date 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.public String toString()
toString
in class Object
Object.toString()
public DescribeDatasetResult clone()