public class SuspendedProcess
extends java.lang.Object
implements java.io.Serializable
An Auto Scaling process that has been suspended. For more information, see ProcessType.
| Constructor and Description |
|---|
SuspendedProcess() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getProcessName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setProcessName(java.lang.String processName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
processName - The name of the suspended process.public SuspendedProcess withProcessName(java.lang.String processName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
processName - The name of the suspended process.public java.lang.String getSuspensionReason()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setSuspensionReason(java.lang.String suspensionReason)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
suspensionReason - The reason that the process was suspended.public SuspendedProcess withSuspensionReason(java.lang.String suspensionReason)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
suspensionReason - The reason that the process was suspended.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object