public class DeletePlacementGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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 .
Constructor and Description |
---|
DeletePlacementGroupRequest()
Default constructor for a new DeletePlacementGroupRequest object.
|
DeletePlacementGroupRequest(java.lang.String groupName)
Constructs a new DeletePlacementGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeletePlacementGroupRequest()
public DeletePlacementGroupRequest(java.lang.String groupName)
groupName
- The name of the placement group.public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName
- The name of the placement group.public DeletePlacementGroupRequest withGroupName(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.