Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class RevokeClusterSecurityGroupIngressRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.RevokeClusterSecurityGroupIngressRequest
All Implemented Interfaces:
Serializable

public class RevokeClusterSecurityGroupIngressRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 Management Guide .

See Also:
AmazonRedshift.revokeClusterSecurityGroupIngress(RevokeClusterSecurityGroupIngressRequest), Serialized Form

Constructor Summary
RevokeClusterSecurityGroupIngressRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevokeClusterSecurityGroupIngressRequest

public RevokeClusterSecurityGroupIngressRequest()
Method Detail

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.

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.

withClusterSecurityGroupName

public RevokeClusterSecurityGroupIngressRequest withClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the security Group from which to revoke the ingress rule.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterSecurityGroupName - The name of the security Group from which to revoke the ingress rule.
Returns:
A reference to this updated object so that method calls can be chained together.

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 and EC2SecurityGroupOwnerId 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 and EC2SecurityGroupOwnerId cannot be provided.

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 and EC2SecurityGroupOwnerId 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. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId 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 and EC2SecurityGroupOwnerId cannot be provided.

Returns a reference to this object so that method calls can be chained together.

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. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.
Returns:
A reference to this updated object so that method calls can be chained together.

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 and CIDRIP 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 and CIDRIP cannot be provided.

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 and CIDRIP cannot be provided.

Parameters:
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.

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 and CIDRIP cannot be provided.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

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. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP 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. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.

Example: 111122223333


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. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.

Example: 111122223333

Parameters:
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


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. 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.

Parameters:
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

Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.