public class RevokeClusterSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RevokeClusterSecurityGroupIngress operation
.
Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide .
NOOP
Constructor and Description |
---|
RevokeClusterSecurityGroupIngressRequest() |
Modifier and Type | Method and 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
the
EC2SecurityGroupName 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
the
EC2SecurityGroupName 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
the
EC2SecurityGroupName parameter. |
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public RevokeClusterSecurityGroupIngressRequest()
public String getClusterSecurityGroupName()
public void setClusterSecurityGroupName(String clusterSecurityGroupName)
clusterSecurityGroupName
- The name of the security Group from which to revoke the ingress rule.public RevokeClusterSecurityGroupIngressRequest withClusterSecurityGroupName(String clusterSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
clusterSecurityGroupName
- The name of the security Group from which to revoke the ingress rule.public String getCIDRIP()
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.public void setCIDRIP(String cIDRIP)
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.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
and EC2SecurityGroupOwnerId
cannot be provided.public RevokeClusterSecurityGroupIngressRequest withCIDRIP(String cIDRIP)
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
Returns a reference to this object so that method calls can be chained together.
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
and EC2SecurityGroupOwnerId
cannot be provided.public String getEC2SecurityGroupName()
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.public void setEC2SecurityGroupName(String eC2SecurityGroupName)
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.eC2SecurityGroupName
- The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupName
- The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.public String getEC2SecurityGroupOwnerId()
EC2SecurityGroupName
parameter. The AWS access key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified, EC2SecurityGroupName
must also be provided.
and CIDRIP
cannot be provided. Example:
111122223333
EC2SecurityGroupName
parameter. The AWS access key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified, EC2SecurityGroupName
must also be provided.
and CIDRIP
cannot be provided. Example:
111122223333
public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
EC2SecurityGroupName
parameter. The AWS access key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified, EC2SecurityGroupName
must also be provided.
and CIDRIP
cannot be provided. Example:
111122223333
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. If EC2SecurityGroupOwnerId
is
specified, EC2SecurityGroupName
must also be provided.
and CIDRIP
cannot be provided. Example:
111122223333
public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
EC2SecurityGroupName
parameter. The AWS access key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified, EC2SecurityGroupName
must also be provided.
and CIDRIP
cannot be provided. Example:
111122223333
Returns a reference to this object so that method calls can be chained together.
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. If EC2SecurityGroupOwnerId
is
specified, EC2SecurityGroupName
must also be provided.
and CIDRIP
cannot be provided. Example:
111122223333
public String toString()
toString
in class Object
Object.toString()
public RevokeClusterSecurityGroupIngressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.