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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SuspendedProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuspendedProcessclone()booleanequals(Object obj)StringgetProcessName()The name of the suspended process.StringgetSuspensionReason()The reason that the process was suspended.inthashCode()voidsetProcessName(String processName)The name of the suspended process.voidsetSuspensionReason(String suspensionReason)The reason that the process was suspended.StringtoString()Returns a string representation of this object; useful for testing and debugging.SuspendedProcesswithProcessName(String processName)The name of the suspended process.SuspendedProcesswithSuspensionReason(String suspensionReason)The reason that the process was suspended.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SuspendedProcess clone()
-
-