com.amazonaws.services.ec2.model
Class DeletePlacementGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeletePlacementGroupRequest
All Implemented Interfaces:
DryRunSupportedRequest<DeletePlacementGroupRequest>, java.io.Serializable

public class DeletePlacementGroupRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DeletePlacementGroupRequest>

Container for the parameters to the DeletePlacementGroup operation.

Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide .

See Also:
AmazonEC2.deletePlacementGroup(DeletePlacementGroupRequest), Serialized Form

Constructor Summary
DeletePlacementGroupRequest()
          Default constructor for a new DeletePlacementGroupRequest object.
DeletePlacementGroupRequest(java.lang.String groupName)
          Constructs a new DeletePlacementGroupRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<DeletePlacementGroupRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getGroupName()
          The name of the placement group.
 int hashCode()
           
 void setGroupName(java.lang.String groupName)
          The name of the placement group.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeletePlacementGroupRequest withGroupName(java.lang.String groupName)
          The name of the placement group.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
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(java.lang.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 placement group.
Method Detail

getGroupName

public java.lang.String getGroupName()
The name of the placement group.

Returns:
The name of the placement group.

setGroupName

public void setGroupName(java.lang.String groupName)
The name of the placement group.

Parameters:
groupName - The name of the placement group.

withGroupName

public DeletePlacementGroupRequest withGroupName(java.lang.String groupName)
The name of the placement group.

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

Parameters:
groupName - The name of the placement group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DeletePlacementGroupRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DeletePlacementGroupRequest>

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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