Package com.amazonaws.services.ec2.model
Class DeleteSecurityGroupRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteSecurityGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DeleteSecurityGroupRequest>
,Serializable
,Cloneable
public class DeleteSecurityGroupRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable, DryRunSupportedRequest<DeleteSecurityGroupRequest>
Contains the parameters for DeleteSecurityGroup.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DeleteSecurityGroupRequest object.DeleteSecurityGroupRequest
(String groupName) Constructs a new DeleteSecurityGroupRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
This method is intended for internal use only.The ID of the security group.[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.toString()
Returns a string representation of this object; useful for testing and debugging.withGroupId
(String groupId) The ID of the security group.withGroupName
(String groupName) [EC2-Classic, default VPC] The name of the security group.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DeleteSecurityGroupRequest
public DeleteSecurityGroupRequest()Default constructor for DeleteSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
DeleteSecurityGroupRequest
Constructs a new DeleteSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
groupName
- [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
-
-
Method Details
-
setGroupName
[EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
- Parameters:
groupName
- [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
-
getGroupName
[EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
- Returns:
- [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
-
withGroupName
[EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
- Parameters:
groupName
- [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupId
The ID of the security group. Required for a nondefault VPC.
- Parameters:
groupId
- The ID of the security group. Required for a nondefault VPC.
-
getGroupId
The ID of the security group. Required for a nondefault VPC.
- Returns:
- The ID of the security group. Required for a nondefault VPC.
-
withGroupId
The ID of the security group. Required for a nondefault VPC.
- Parameters:
groupId
- The ID of the security group. Required for a nondefault VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DeleteSecurityGroupRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-