Class SuspendedProcess

java.lang.Object
com.amazonaws.services.autoscaling.model.SuspendedProcess
All Implemented Interfaces:
Serializable, Cloneable

public class SuspendedProcess extends Object implements Serializable, Cloneable

Describes an Auto Scaling process that has been suspended. For more information, see ProcessType.

See Also:
  • Constructor Details

    • SuspendedProcess

      public SuspendedProcess()
  • Method Details

    • setProcessName

      public void setProcessName(String processName)

      The name of the suspended process.

      Parameters:
      processName - The name of the suspended process.
    • getProcessName

      public String getProcessName()

      The name of the suspended process.

      Returns:
      The name of the suspended process.
    • withProcessName

      public SuspendedProcess withProcessName(String processName)

      The name of the suspended process.

      Parameters:
      processName - The name of the suspended process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSuspensionReason

      public void setSuspensionReason(String suspensionReason)

      The reason that the process was suspended.

      Parameters:
      suspensionReason - The reason that the process was suspended.
    • getSuspensionReason

      public String getSuspensionReason()

      The reason that the process was suspended.

      Returns:
      The reason that the process was suspended.
    • withSuspensionReason

      public SuspendedProcess withSuspensionReason(String suspensionReason)

      The reason that the process was suspended.

      Parameters:
      suspensionReason - The reason that the process was suspended.
      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 SuspendedProcess clone()
      Overrides:
      clone in class Object