Class StopDeploymentResult

java.lang.Object
com.amazonaws.services.codedeploy.model.StopDeploymentResult
All Implemented Interfaces:
Serializable, Cloneable

public class StopDeploymentResult extends Object implements Serializable, Cloneable

Represents the output of a stop deployment operation.

See Also:
  • Constructor Details

    • StopDeploymentResult

      public StopDeploymentResult()
  • Method Details

    • setStatus

      public void setStatus(String status)

      The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      Parameters:
      status - The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      See Also:
    • getStatus

      public String getStatus()

      The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      Returns:
      The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      See Also:
    • withStatus

      public StopDeploymentResult withStatus(String status)

      The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      Parameters:
      status - The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(StopStatus status)

      The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      Parameters:
      status - The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      See Also:
    • withStatus

      public StopDeploymentResult withStatus(StopStatus status)

      The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      Parameters:
      status - The status of the stop deployment operation:

      • Pending: The stop operation is pending.
      • Succeeded: The stop operation was successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatusMessage

      public void setStatusMessage(String statusMessage)

      An accompanying status message.

      Parameters:
      statusMessage - An accompanying status message.
    • getStatusMessage

      public String getStatusMessage()

      An accompanying status message.

      Returns:
      An accompanying status message.
    • withStatusMessage

      public StopDeploymentResult withStatusMessage(String statusMessage)

      An accompanying status message.

      Parameters:
      statusMessage - An accompanying status message.
      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 StopDeploymentResult clone()
      Overrides:
      clone in class Object