public class SuspendedProcess
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an Auto Scaling process that has been suspended. For more information, see ProcessType.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
processName
The name of the suspended process.
|
private java.lang.String |
suspensionReason
The reason that the process was suspended.
|
Constructor and Description |
---|
SuspendedProcess() |
Modifier and Type | Method and Description |
---|---|
SuspendedProcess |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getProcessName()
The name of the suspended process.
|
java.lang.String |
getSuspensionReason()
The reason that the process was suspended.
|
int |
hashCode() |
void |
setProcessName(java.lang.String processName)
The name of the suspended process.
|
void |
setSuspensionReason(java.lang.String suspensionReason)
The reason that the process was suspended.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SuspendedProcess |
withProcessName(java.lang.String processName)
The name of the suspended process.
|
SuspendedProcess |
withSuspensionReason(java.lang.String suspensionReason)
The reason that the process was suspended.
|
private java.lang.String processName
The name of the suspended process.
private java.lang.String suspensionReason
The reason that the process was suspended.
public void setProcessName(java.lang.String processName)
The name of the suspended process.
processName
- The name of the suspended process.public java.lang.String getProcessName()
The name of the suspended process.
public SuspendedProcess withProcessName(java.lang.String processName)
The name of the suspended process.
processName
- The name of the suspended process.public void setSuspensionReason(java.lang.String suspensionReason)
The reason that the process was suspended.
suspensionReason
- The reason that the process was suspended.public java.lang.String getSuspensionReason()
The reason that the process was suspended.
public SuspendedProcess withSuspensionReason(java.lang.String suspensionReason)
The reason that the process was suspended.
suspensionReason
- The reason that the process was suspended.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SuspendedProcess clone()
clone
in class java.lang.Object