@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetDescription extends Object implements Serializable, Cloneable, StructuredPojo
A description for a dataset. For more information, see DescribeDataset.
The status fields Status
, StatusMessage
, and StatusMessageCode
reflect the
last operation on the dataset.
Constructor and Description |
---|
DatasetDescription() |
Modifier and Type | Method and Description |
---|---|
DatasetDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTimestamp()
The Unix timestamp for the time and date that the dataset was created.
|
DatasetStats |
getDatasetStats()
The status message code for the dataset.
|
Date |
getLastUpdatedTimestamp()
The Unix timestamp for the date and time that the dataset was last updated.
|
String |
getStatus()
The status of the dataset.
|
String |
getStatusMessage()
The status message for the dataset.
|
String |
getStatusMessageCode()
The status message code for the dataset operation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the time and date that the dataset was created.
|
void |
setDatasetStats(DatasetStats datasetStats)
The status message code for the dataset.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix timestamp for the date and time that the dataset was last updated.
|
void |
setStatus(String status)
The status of the dataset.
|
void |
setStatusMessage(String statusMessage)
The status message for the dataset.
|
void |
setStatusMessageCode(String statusMessageCode)
The status message code for the dataset operation.
|
String |
toString()
Returns a string representation of this object.
|
DatasetDescription |
withCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the time and date that the dataset was created.
|
DatasetDescription |
withDatasetStats(DatasetStats datasetStats)
The status message code for the dataset.
|
DatasetDescription |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix timestamp for the date and time that the dataset was last updated.
|
DatasetDescription |
withStatus(DatasetStatus status)
The status of the dataset.
|
DatasetDescription |
withStatus(String status)
The status of the dataset.
|
DatasetDescription |
withStatusMessage(String statusMessage)
The status message for the dataset.
|
DatasetDescription |
withStatusMessageCode(DatasetStatusMessageCode statusMessageCode)
The status message code for the dataset operation.
|
DatasetDescription |
withStatusMessageCode(String statusMessageCode)
The status message code for the dataset operation.
|
public void setCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the time and date that the dataset was created.
creationTimestamp
- The Unix timestamp for the time and date that the dataset was created.public Date getCreationTimestamp()
The Unix timestamp for the time and date that the dataset was created.
public DatasetDescription withCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the time and date that the dataset was created.
creationTimestamp
- The Unix timestamp for the time and date that the dataset was created.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix timestamp for the date and time that the dataset was last updated.
lastUpdatedTimestamp
- The Unix timestamp for the date and time that the dataset was last updated.public Date getLastUpdatedTimestamp()
The Unix timestamp for the date and time that the dataset was last updated.
public DatasetDescription withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The Unix timestamp for the date and time that the dataset was last updated.
lastUpdatedTimestamp
- The Unix timestamp for the date and time that the dataset was last updated.public void setStatus(String status)
The status of the dataset.
status
- The status of the dataset.DatasetStatus
public String getStatus()
The status of the dataset.
DatasetStatus
public DatasetDescription withStatus(String status)
The status of the dataset.
status
- The status of the dataset.DatasetStatus
public DatasetDescription withStatus(DatasetStatus status)
The status of the dataset.
status
- The status of the dataset.DatasetStatus
public void setStatusMessage(String statusMessage)
The status message for the dataset.
statusMessage
- The status message for the dataset.public String getStatusMessage()
The status message for the dataset.
public DatasetDescription withStatusMessage(String statusMessage)
The status message for the dataset.
statusMessage
- The status message for the dataset.public void setStatusMessageCode(String statusMessageCode)
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
statusMessageCode
- The status message code for the dataset operation. If a service error occurs, try the API call again
later. If a client error occurs, check the input parameters to the dataset API call that failed.DatasetStatusMessageCode
public String getStatusMessageCode()
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
DatasetStatusMessageCode
public DatasetDescription withStatusMessageCode(String statusMessageCode)
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
statusMessageCode
- The status message code for the dataset operation. If a service error occurs, try the API call again
later. If a client error occurs, check the input parameters to the dataset API call that failed.DatasetStatusMessageCode
public DatasetDescription withStatusMessageCode(DatasetStatusMessageCode statusMessageCode)
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
statusMessageCode
- The status message code for the dataset operation. If a service error occurs, try the API call again
later. If a client error occurs, check the input parameters to the dataset API call that failed.DatasetStatusMessageCode
public void setDatasetStats(DatasetStats datasetStats)
The status message code for the dataset.
datasetStats
- The status message code for the dataset.public DatasetStats getDatasetStats()
The status message code for the dataset.
public DatasetDescription withDatasetStats(DatasetStats datasetStats)
The status message code for the dataset.
datasetStats
- The status message code for the dataset.public String toString()
toString
in class Object
Object.toString()
public DatasetDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.