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 ExportTaskStatusclone()booleanequals(Object obj)StringgetCode()Status code of the export task.StringgetMessage()Status message related to thecode.inthashCode()voidsetCode(ExportTaskStatusCode code)Status code of the export task.voidsetCode(String code)Status code of the export task.voidsetMessage(String message)Status message related to thecode.StringtoString()Returns a string representation of this object; useful for testing and debugging.ExportTaskStatuswithCode(ExportTaskStatusCode code)Status code of the export task.ExportTaskStatuswithCode(String code)Status code of the export task.ExportTaskStatuswithMessage(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ExportTaskStatus clone()
-
-