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.
ExportTaskStatusCode
public 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.
ExportTaskStatusCode
public 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.
ExportTaskStatusCode
public 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.
ExportTaskStatusCode
public 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.
ExportTaskStatusCode
public 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.