Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DeleteStackRequest

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

public class DeleteStackRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteStack operation.

Deletes a specified stack. You must first delete all instances, layers, and apps. For more information, see Shut Down a Stack .

See Also:
AWSOpsWorks.deleteStack(DeleteStackRequest), Serialized Form

Constructor Summary
DeleteStackRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getStackId()
          The stack ID.
 int hashCode()
           
 void setStackId(String stackId)
          The stack ID.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteStackRequest withStackId(String stackId)
          The stack ID.
 
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

DeleteStackRequest

public DeleteStackRequest()
Method Detail

getStackId

public String getStackId()
The stack ID.

Returns:
The stack ID.

setStackId

public void setStackId(String stackId)
The stack ID.

Parameters:
stackId - The stack ID.

withStackId

public DeleteStackRequest withStackId(String stackId)
The stack ID.

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

Parameters:
stackId - The stack ID.
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.