|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteSecurityGroupRequest
public class DeleteSecurityGroupRequest
Container for the parameters to the DeleteSecurityGroup operation.
The DeleteSecurityGroup operation deletes a security group.
NOTE: If you attempt to delete a security group that contains instances, a fault is returned. If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.
AmazonEC2.deleteSecurityGroup(DeleteSecurityGroupRequest)| Constructor Summary | |
|---|---|
DeleteSecurityGroupRequest()
Default constructor for a new DeleteSecurityGroupRequest object. |
|
DeleteSecurityGroupRequest(String groupName)
Constructs a new DeleteSecurityGroupRequest object. |
|
| Method Summary | |
|---|---|
String |
getGroupName()
The name of the Amazon EC2 security group to delete. |
void |
setGroupName(String groupName)
The name of the Amazon EC2 security group to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteSecurityGroupRequest |
withGroupName(String groupName)
The name of the Amazon EC2 security group to delete. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteSecurityGroupRequest()
public DeleteSecurityGroupRequest(String groupName)
groupName - The name of the Amazon EC2 security group to delete.| Method Detail |
|---|
public String getGroupName()
public void setGroupName(String groupName)
groupName - The name of the Amazon EC2 security group to delete.public DeleteSecurityGroupRequest withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName - The name of the Amazon EC2 security group to delete.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||