com.amazonaws.services.ec2.model
Class DeletePlacementGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeletePlacementGroupRequest

public class DeletePlacementGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeletePlacementGroup operation.

Deletes a PlacementGroup from a user's account. Terminate all Amazon EC2 instances in the placement group before deletion.

See Also:
AmazonEC2.deletePlacementGroup(DeletePlacementGroupRequest)

Constructor Summary
DeletePlacementGroupRequest()
          Default constructor for a new DeletePlacementGroupRequest object.
DeletePlacementGroupRequest(String groupName)
          Constructs a new DeletePlacementGroupRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getGroupName()
          The name of the PlacementGroup to delete.
 int hashCode()
           
 void setGroupName(String groupName)
          The name of the PlacementGroup to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeletePlacementGroupRequest withGroupName(String groupName)
          The name of the PlacementGroup to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeletePlacementGroupRequest

public DeletePlacementGroupRequest()
Default constructor for a new DeletePlacementGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeletePlacementGroupRequest

public DeletePlacementGroupRequest(String groupName)
Constructs a new DeletePlacementGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
groupName - The name of the PlacementGroup to delete.
Method Detail

getGroupName

public String getGroupName()
The name of the PlacementGroup to delete.

Returns:
The name of the PlacementGroup to delete.

setGroupName

public void setGroupName(String groupName)
The name of the PlacementGroup to delete.

Parameters:
groupName - The name of the PlacementGroup to delete.

withGroupName

public DeletePlacementGroupRequest withGroupName(String groupName)
The name of the PlacementGroup to delete.

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

Parameters:
groupName - The name of the PlacementGroup to delete.
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.