Class RevokeClusterSecurityGroupIngressRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe IP range for which to revoke access.The name of the security Group from which to revoke the ingress rule.The name of the EC2 Security Group whose access is to be revoked.The AWS account number of the owner of the security group specified in theEC2SecurityGroupNameparameter.inthashCode()voidThe IP range for which to revoke access.voidsetClusterSecurityGroupName(String clusterSecurityGroupName) The name of the security Group from which to revoke the ingress rule.voidsetEC2SecurityGroupName(String eC2SecurityGroupName) The name of the EC2 Security Group whose access is to be revoked.voidsetEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) The AWS account number of the owner of the security group specified in theEC2SecurityGroupNameparameter.toString()Returns a string representation of this object; useful for testing and debugging.withCIDRIP(String cIDRIP) The IP range for which to revoke access.withClusterSecurityGroupName(String clusterSecurityGroupName) The name of the security Group from which to revoke the ingress rule.withEC2SecurityGroupName(String eC2SecurityGroupName) The name of the EC2 Security Group whose access is to be revoked.withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) The AWS account number of the owner of the security group specified in theEC2SecurityGroupNameparameter.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
-
RevokeClusterSecurityGroupIngressRequest
public RevokeClusterSecurityGroupIngressRequest()
-
-
Method Details
-
setClusterSecurityGroupName
The name of the security Group from which to revoke the ingress rule.
- Parameters:
clusterSecurityGroupName- The name of the security Group from which to revoke the ingress rule.
-
getClusterSecurityGroupName
The name of the security Group from which to revoke the ingress rule.
- Returns:
- The name of the security Group from which to revoke the ingress rule.
-
withClusterSecurityGroupName
public RevokeClusterSecurityGroupIngressRequest withClusterSecurityGroupName(String clusterSecurityGroupName) The name of the security Group from which to revoke the ingress rule.
- Parameters:
clusterSecurityGroupName- The name of the security Group from which to revoke the ingress rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCIDRIP
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.- Parameters:
cIDRIP- The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. IfCIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.
-
getCIDRIP
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.- Returns:
- The IP range for which to revoke access. This range must be a
valid Classless Inter-Domain Routing (CIDR) block of IP
addresses. If
CIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.
-
withCIDRIP
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.- Parameters:
cIDRIP- The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. IfCIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupName
The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.- Parameters:
eC2SecurityGroupName- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.
-
getEC2SecurityGroupName
The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.- Returns:
- The name of the EC2 Security Group whose access is to be revoked.
If
EC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.
-
withEC2SecurityGroupName
public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName) The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.- Parameters:
eC2SecurityGroupName- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupOwnerId
The AWS account number of the owner of the security group specified in the
EC2SecurityGroupNameparameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333- Parameters:
eC2SecurityGroupOwnerId- The AWS account number of the owner of the security group specified in theEC2SecurityGroupNameparameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333
-
getEC2SecurityGroupOwnerId
The AWS account number of the owner of the security group specified in the
EC2SecurityGroupNameparameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333- Returns:
- The AWS account number of the owner of the security group
specified in the
EC2SecurityGroupNameparameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333
-
withEC2SecurityGroupOwnerId
public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) The AWS account number of the owner of the security group specified in the
EC2SecurityGroupNameparameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333- Parameters:
eC2SecurityGroupOwnerId- The AWS account number of the owner of the security group specified in theEC2SecurityGroupNameparameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-