public class DeletePlacementGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeletePlacementGroupRequest>
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 .
NOOP
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 |
---|---|
DeletePlacementGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DeletePlacementGroupRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getGroupName()
The name of the placement group.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The name of the placement group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeletePlacementGroupRequest |
withGroupName(String groupName)
The name of the placement group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeletePlacementGroupRequest()
public DeletePlacementGroupRequest(String groupName)
groupName
- The name of the placement group.public String getGroupName()
public void setGroupName(String groupName)
groupName
- The name of the placement group.public DeletePlacementGroupRequest withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- The name of the placement group.public Request<DeletePlacementGroupRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeletePlacementGroupRequest>
public String toString()
toString
in class Object
Object.toString()
public DeletePlacementGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.