Class RevokeClusterSecurityGroupIngressRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.RevokeClusterSecurityGroupIngressRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RevokeClusterSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RevokeClusterSecurityGroupIngressRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevokeClusterSecurityGroupIngressRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCIDRIP()
The IP range for which to revoke access.String
getClusterSecurityGroupName()
The name of the security Group from which to revoke the ingress rule.String
getEC2SecurityGroupName()
The name of the EC2 Security Group whose access is to be revoked.String
getEC2SecurityGroupOwnerId()
The AWS account number of the owner of the security group specified in theEC2SecurityGroupName
parameter.int
hashCode()
void
setCIDRIP(String cIDRIP)
The IP range for which to revoke access.void
setClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the security Group from which to revoke the ingress rule.void
setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group whose access is to be revoked.void
setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the owner of the security group specified in theEC2SecurityGroupName
parameter.String
toString()
Returns a string representation of this object; useful for testing and debugging.RevokeClusterSecurityGroupIngressRequest
withCIDRIP(String cIDRIP)
The IP range for which to revoke access.RevokeClusterSecurityGroupIngressRequest
withClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the security Group from which to revoke the ingress rule.RevokeClusterSecurityGroupIngressRequest
withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group whose access is to be revoked.RevokeClusterSecurityGroupIngressRequest
withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the owner of the security group specified in theEC2SecurityGroupName
parameter.-
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
-
-
-
-
Method Detail
-
setClusterSecurityGroupName
public void setClusterSecurityGroupName(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.
-
getClusterSecurityGroupName
public String 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
public void setCIDRIP(String cIDRIP)
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot 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. IfCIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot be provided.
-
getCIDRIP
public String 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
CIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot 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
CIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot be provided.
-
withCIDRIP
public RevokeClusterSecurityGroupIngressRequest withCIDRIP(String cIDRIP)
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot 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. IfCIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupName
public void setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.- Parameters:
eC2SecurityGroupName
- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.
-
getEC2SecurityGroupName
public String getEC2SecurityGroupName()
The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.- Returns:
- The name of the EC2 Security Group whose access is to be revoked.
If
EC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.
-
withEC2SecurityGroupName
public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.- Parameters:
eC2SecurityGroupName
- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupOwnerId
public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the owner of the security group specified in the
EC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
- Parameters:
eC2SecurityGroupOwnerId
- The AWS account number of the owner of the security group specified in theEC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
-
getEC2SecurityGroupOwnerId
public String getEC2SecurityGroupOwnerId()
The AWS account number of the owner of the security group specified in the
EC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
- Returns:
- The AWS account number of the owner of the security group
specified in the
EC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
-
withEC2SecurityGroupOwnerId
public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the owner of the security group specified in the
EC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
- Parameters:
eC2SecurityGroupOwnerId
- The AWS account number of the owner of the security group specified in theEC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RevokeClusterSecurityGroupIngressRequest 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:
Object.clone()
-
-