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:
  • Constructor Details

    • ExportTaskStatus

      public ExportTaskStatus()
  • Method Details

    • setCode

      public void setCode(String code)

      Status code of the export task.

      Parameters:
      code - Status code of the export task.
      See Also:
    • getCode

      public String getCode()

      Status code of the export task.

      Returns:
      Status code of the export task.
      See Also:
    • 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:
    • setCode

      public void setCode(ExportTaskStatusCode code)

      Status code of the export task.

      Parameters:
      code - Status code of the export task.
      See Also:
    • 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:
    • setMessage

      public void setMessage(String message)

      Status message related to the code.

      Parameters:
      message - Status message related to the code.
    • 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 the code.
      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ExportTaskStatus clone()
      Overrides:
      clone in class Object