@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSecurityGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteSecurityGroupRequest>
Contains the parameters for DeleteSecurityGroup.
NOOP
Constructor and Description |
---|
DeleteSecurityGroupRequest()
Default constructor for DeleteSecurityGroupRequest object.
|
DeleteSecurityGroupRequest(String groupName)
Constructs a new DeleteSecurityGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteSecurityGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DeleteSecurityGroupRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getGroupId()
The ID of the security group.
|
String |
getGroupName()
[EC2-Classic, default VPC] The name of the security group.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setGroupName(String groupName)
[EC2-Classic, default VPC] The name of the security group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteSecurityGroupRequest |
withGroupId(String groupId)
The ID of the security group.
|
DeleteSecurityGroupRequest |
withGroupName(String groupName)
[EC2-Classic, default VPC] The name of the security group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DeleteSecurityGroupRequest()
public DeleteSecurityGroupRequest(String groupName)
groupName
- [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name
or the security group ID.public void setGroupId(String groupId)
The ID of the security group. Required for a nondefault VPC.
groupId
- The ID of the security group. Required for a nondefault VPC.public String getGroupId()
The ID of the security group. Required for a nondefault VPC.
public DeleteSecurityGroupRequest withGroupId(String groupId)
The ID of the security group. Required for a nondefault VPC.
groupId
- The ID of the security group. Required for a nondefault VPC.public void setGroupName(String groupName)
[EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
groupName
- [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name
or the security group ID.public String getGroupName()
[EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
public DeleteSecurityGroupRequest withGroupName(String groupName)
[EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
groupName
- [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name
or the security group ID.public Request<DeleteSecurityGroupRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteSecurityGroupRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteSecurityGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.