@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSecurityGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteSecurityGroupRequest>
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()
[Default VPC] The name of the security group.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setGroupName(String groupName)
[Default VPC] The name of the security group.
|
String |
toString()
Returns a string representation of this object.
|
DeleteSecurityGroupRequest |
withGroupId(String groupId)
The ID of the security group.
|
DeleteSecurityGroupRequest |
withGroupName(String groupName)
[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
- [Default VPC] The name of the security group. You can specify either the security group name or the
security group ID. For security groups in a nondefault VPC, you must specify the security group ID.public void setGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public String getGroupId()
The ID of the security group.
public DeleteSecurityGroupRequest withGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public void setGroupName(String groupName)
[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.
groupName
- [Default VPC] The name of the security group. You can specify either the security group name or the
security group ID. For security groups in a nondefault VPC, you must specify the security group ID.public String getGroupName()
[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.
public DeleteSecurityGroupRequest withGroupName(String groupName)
[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.
groupName
- [Default VPC] The name of the security group. You can specify either the security group name or the
security group ID. For security groups in a nondefault VPC, you must specify 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()