Class ExportTaskStatus
- java.lang.Object
-
- com.amazonaws.services.logs.model.ExportTaskStatus
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ExportTaskStatus extends Object implements Serializable, Cloneable
Represents the status of an export task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExportTaskStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportTaskStatus
clone()
boolean
equals(Object obj)
String
getCode()
Status code of the export task.String
getMessage()
Status message related to thecode
.int
hashCode()
void
setCode(ExportTaskStatusCode code)
Status code of the export task.void
setCode(String code)
Status code of the export task.void
setMessage(String message)
Status message related to thecode
.String
toString()
Returns a string representation of this object; useful for testing and debugging.ExportTaskStatus
withCode(ExportTaskStatusCode code)
Status code of the export task.ExportTaskStatus
withCode(String code)
Status code of the export task.ExportTaskStatus
withMessage(String message)
Status message related to thecode
.
-
-
-
Method Detail
-
setCode
public void setCode(String code)
Status code of the export task.
- Parameters:
code
- Status code of the export task.- See Also:
ExportTaskStatusCode
-
getCode
public String getCode()
Status code of the export task.
- Returns:
- Status code of the export task.
- See Also:
ExportTaskStatusCode
-
withCode
public ExportTaskStatus withCode(String code)
Status code of the export task.
- Parameters:
code
- Status code of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportTaskStatusCode
-
setCode
public void setCode(ExportTaskStatusCode code)
Status code of the export task.
- Parameters:
code
- Status code of the export task.- See Also:
ExportTaskStatusCode
-
withCode
public ExportTaskStatus withCode(ExportTaskStatusCode code)
Status code of the export task.
- Parameters:
code
- Status code of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportTaskStatusCode
-
setMessage
public void setMessage(String message)
Status message related to the
code
.- Parameters:
message
- Status message related to thecode
.
-
getMessage
public String getMessage()
Status message related to the
code
.- Returns:
- Status message related to the
code
.
-
withMessage
public ExportTaskStatus withMessage(String message)
Status message related to the
code
.- Parameters:
message
- Status message related to thecode
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ExportTaskStatus clone()
-
-