public class DeletePlacementGroupRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeletePlacementGroupRequest>
DeletePlacementGroup operation
.
Deletes a PlacementGroup from a user's account. Terminate all Amazon EC2 instances in the placement group before deletion.
Constructor and Description |
---|
DeletePlacementGroupRequest()
Default constructor for a new DeletePlacementGroupRequest object.
|
DeletePlacementGroupRequest(String groupName)
Constructs a new DeletePlacementGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DeletePlacementGroupRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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. |
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeletePlacementGroupRequest()
public DeletePlacementGroupRequest(String groupName)
groupName
- The name of the PlacementGroup
to
delete.public String getGroupName()
PlacementGroup
to delete.PlacementGroup
to delete.public void setGroupName(String groupName)
PlacementGroup
to delete.groupName
- The name of the PlacementGroup
to delete.public DeletePlacementGroupRequest withGroupName(String groupName)
PlacementGroup
to delete.
Returns a reference to this object so that method calls can be chained together.
groupName
- The name of the PlacementGroup
to delete.public Request<DeletePlacementGroupRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeletePlacementGroupRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.