com.amazonaws.services.autoscaling.model
Class SuspendedProcess

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.SuspendedProcess

public class SuspendedProcess
extends Object

An Auto Scaling process that has been suspended. For more information, see ProcessType.


Constructor Summary
SuspendedProcess()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuspendedProcess

public SuspendedProcess()
Method Detail

getProcessName

public String getProcessName()
The name of the suspended process.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the suspended process.

setProcessName

public void setProcessName(String processName)
The name of the suspended process.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
processName - The name of the suspended process.

withProcessName

public SuspendedProcess withProcessName(String processName)
The name of the suspended process.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
processName - The name of the suspended process.
Returns:
A reference to this updated object so that method calls can be chained together.

getSuspensionReason

public String getSuspensionReason()
The reason that the process was suspended.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The reason that the process was suspended.

setSuspensionReason

public void setSuspensionReason(String suspensionReason)
The reason that the process was suspended.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
suspensionReason - The reason that the process was suspended.

withSuspensionReason

public SuspendedProcess withSuspensionReason(String suspensionReason)
The reason that the process was suspended.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
suspensionReason - The reason that the process was suspended.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.