@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Summary information for an Amazon Rekognition Custom Labels dataset. For more information, see ProjectDescription.
Constructor and Description |
---|
DatasetMetadata() |
Modifier and Type | Method and Description |
---|---|
DatasetMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTimestamp()
The Unix timestamp for the date and time that the dataset was created.
|
String |
getDatasetArn()
The Amazon Resource Name (ARN) for the dataset.
|
String |
getDatasetType()
The type of the dataset.
|
String |
getStatus()
The status for 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 date and time that the dataset was created.
|
void |
setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) for the dataset.
|
void |
setDatasetType(String datasetType)
The type of the dataset.
|
void |
setStatus(String status)
The status for 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.
|
DatasetMetadata |
withCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the date and time that the dataset was created.
|
DatasetMetadata |
withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) for the dataset.
|
DatasetMetadata |
withDatasetType(DatasetType datasetType)
The type of the dataset.
|
DatasetMetadata |
withDatasetType(String datasetType)
The type of the dataset.
|
DatasetMetadata |
withStatus(DatasetStatus status)
The status for the dataset.
|
DatasetMetadata |
withStatus(String status)
The status for the dataset.
|
DatasetMetadata |
withStatusMessage(String statusMessage)
The status message for the dataset.
|
DatasetMetadata |
withStatusMessageCode(DatasetStatusMessageCode statusMessageCode)
The status message code for the dataset operation.
|
DatasetMetadata |
withStatusMessageCode(String statusMessageCode)
The status message code for the dataset operation.
|
public void setCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the date and time that the dataset was created.
creationTimestamp
- The Unix timestamp for the date and time that the dataset was created.public Date getCreationTimestamp()
The Unix timestamp for the date and time that the dataset was created.
public DatasetMetadata withCreationTimestamp(Date creationTimestamp)
The Unix timestamp for the date and time that the dataset was created.
creationTimestamp
- The Unix timestamp for the date and time that the dataset was created.public void setDatasetType(String datasetType)
The type of the dataset.
datasetType
- The type of the dataset.DatasetType
public String getDatasetType()
The type of the dataset.
DatasetType
public DatasetMetadata withDatasetType(String datasetType)
The type of the dataset.
datasetType
- The type of the dataset.DatasetType
public DatasetMetadata withDatasetType(DatasetType datasetType)
The type of the dataset.
datasetType
- The type of the dataset.DatasetType
public void setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) for the dataset.
datasetArn
- The Amazon Resource Name (ARN) for the dataset.public String getDatasetArn()
The Amazon Resource Name (ARN) for the dataset.
public DatasetMetadata withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) for the dataset.
datasetArn
- The Amazon Resource Name (ARN) for the dataset.public void setStatus(String status)
The status for the dataset.
status
- The status for the dataset.DatasetStatus
public String getStatus()
The status for the dataset.
DatasetStatus
public DatasetMetadata withStatus(String status)
The status for the dataset.
status
- The status for the dataset.DatasetStatus
public DatasetMetadata withStatus(DatasetStatus status)
The status for the dataset.
status
- The status for 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 DatasetMetadata 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 DatasetMetadata 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 DatasetMetadata 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 String toString()
toString
in class Object
Object.toString()
public DatasetMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.