public class ExportTaskStatus
extends java.lang.Object
implements java.io.Serializable
Represents the status of an export task.
| Constructor and Description |
|---|
ExportTaskStatus() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The status code of the export task.
|
java.lang.String |
getMessage()
The status message related to the status code.
|
int |
hashCode() |
void |
setCode(ExportTaskStatusCode code)
The status code of the export task.
|
void |
setCode(java.lang.String code)
The status code of the export task.
|
void |
setMessage(java.lang.String message)
The status message related to the status code.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportTaskStatus |
withCode(ExportTaskStatusCode code)
The status code of the export task.
|
ExportTaskStatus |
withCode(java.lang.String code)
The status code of the export task.
|
ExportTaskStatus |
withMessage(java.lang.String message)
The status message related to the status code.
|
public java.lang.String getCode()
The status code of the export task.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
The status code of the export task.
ExportTaskStatusCodepublic void setCode(java.lang.String code)
The status code of the export task.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
code - The status code of the export task.
ExportTaskStatusCodepublic ExportTaskStatus withCode(java.lang.String code)
The status code of the export task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
code - The status code of the export task.
ExportTaskStatusCodepublic void setCode(ExportTaskStatusCode code)
The status code of the export task.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
code - The status code of the export task.
ExportTaskStatusCodepublic ExportTaskStatus withCode(ExportTaskStatusCode code)
The status code of the export task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
code - The status code of the export task.
ExportTaskStatusCodepublic java.lang.String getMessage()
The status message related to the status code.
The status message related to the status code.
public void setMessage(java.lang.String message)
The status message related to the status code.
message - The status message related to the status code.
public ExportTaskStatus withMessage(java.lang.String message)
The status message related to the status code.
Returns a reference to this object so that method calls can be chained together.
message - The status message related to the status code.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.