Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudformation.model
Class CancelUpdateStackRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudformation.model.CancelUpdateStackRequest
All Implemented Interfaces:
Serializable

public class CancelUpdateStackRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CancelUpdateStack operation.

Cancels an update on the specified stack. If the call completes successfully, the stack will roll back the update and revert to the previous stack configuration.

NOTE:Only stacks that are in the UPDATE_IN_PROGRESS state can be canceled.

See Also:
AmazonCloudFormation.cancelUpdateStack(CancelUpdateStackRequest), Serialized Form

Constructor Summary
CancelUpdateStackRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getStackName()
          The name or the unique identifier associated with the stack.
 int hashCode()
           
 void setStackName(String stackName)
          The name or the unique identifier associated with the stack.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CancelUpdateStackRequest withStackName(String stackName)
          The name or the unique identifier associated with the stack.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancelUpdateStackRequest

public CancelUpdateStackRequest()
Method Detail

getStackName

public String getStackName()
The name or the unique identifier associated with the stack.

Returns:
The name or the unique identifier associated with the stack.

setStackName

public void setStackName(String stackName)
The name or the unique identifier associated with the stack.

Parameters:
stackName - The name or the unique identifier associated with the stack.

withStackName

public CancelUpdateStackRequest withStackName(String stackName)
The name or the unique identifier associated with the stack.

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

Parameters:
stackName - The name or the unique identifier associated with the stack.

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.