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 SuspendedProcess
clone()
boolean
equals(Object obj)
String
getProcessName()
The name of the suspended process.String
getSuspensionReason()
The reason that the process was suspended.int
hashCode()
void
setProcessName(String processName)
The name of the suspended process.void
setSuspensionReason(String suspensionReason)
The reason that the process was suspended.String
toString()
Returns a string representation of this object; useful for testing and debugging.SuspendedProcess
withProcessName(String processName)
The name of the suspended process.SuspendedProcess
withSuspensionReason(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SuspendedProcess clone()
-
-