public class SuspendedProcess extends Object implements 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(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.
|
public String getProcessName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setProcessName(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(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 String getSuspensionReason()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setSuspensionReason(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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.