Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class ClusterSecurityGroup

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

public class ClusterSecurityGroup
extends Object
implements Serializable

Describes a security group.

See Also:
Serialized Form

Constructor Summary
ClusterSecurityGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterSecurityGroupName()
          The name of the cluster security group to which the operation was applied.
 String getDescription()
          A description of the security group.
 List<EC2SecurityGroup> getEC2SecurityGroups()
          A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
 List<IPRange> getIPRanges()
          A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
 int hashCode()
           
 void setClusterSecurityGroupName(String clusterSecurityGroupName)
          The name of the cluster security group to which the operation was applied.
 void setDescription(String description)
          A description of the security group.
 void setEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
          A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
 void setIPRanges(Collection<IPRange> iPRanges)
          A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ClusterSecurityGroup withClusterSecurityGroupName(String clusterSecurityGroupName)
          The name of the cluster security group to which the operation was applied.
 ClusterSecurityGroup withDescription(String description)
          A description of the security group.
 ClusterSecurityGroup withEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
          A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
 ClusterSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)
          A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
 ClusterSecurityGroup withIPRanges(Collection<IPRange> iPRanges)
          A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
 ClusterSecurityGroup withIPRanges(IPRange... iPRanges)
          A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterSecurityGroup

public ClusterSecurityGroup()
Method Detail

getClusterSecurityGroupName

public String getClusterSecurityGroupName()
The name of the cluster security group to which the operation was applied.

Returns:
The name of the cluster security group to which the operation was applied.

setClusterSecurityGroupName

public void setClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group to which the operation was applied.

Parameters:
clusterSecurityGroupName - The name of the cluster security group to which the operation was applied.

withClusterSecurityGroupName

public ClusterSecurityGroup withClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group to which the operation was applied.

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

Parameters:
clusterSecurityGroupName - The name of the cluster security group to which the operation was applied.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
A description of the security group.

Returns:
A description of the security group.

setDescription

public void setDescription(String description)
A description of the security group.

Parameters:
description - A description of the security group.

withDescription

public ClusterSecurityGroup withDescription(String description)
A description of the security group.

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

Parameters:
description - A description of the security group.
Returns:
A reference to this updated object so that method calls can be chained together.

getEC2SecurityGroups

public List<EC2SecurityGroup> getEC2SecurityGroups()
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

Returns:
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

setEC2SecurityGroups

public void setEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

Parameters:
eC2SecurityGroups - A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

withEC2SecurityGroups

public ClusterSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

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

Parameters:
eC2SecurityGroups - A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
Returns:
A reference to this updated object so that method calls can be chained together.

withEC2SecurityGroups

public ClusterSecurityGroup withEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.

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

Parameters:
eC2SecurityGroups - A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
Returns:
A reference to this updated object so that method calls can be chained together.

getIPRanges

public List<IPRange> getIPRanges()
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

Returns:
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

setIPRanges

public void setIPRanges(Collection<IPRange> iPRanges)
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

Parameters:
iPRanges - A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

withIPRanges

public ClusterSecurityGroup withIPRanges(IPRange... iPRanges)
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

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

Parameters:
iPRanges - A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
Returns:
A reference to this updated object so that method calls can be chained together.

withIPRanges

public ClusterSecurityGroup withIPRanges(Collection<IPRange> iPRanges)
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.

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

Parameters:
iPRanges - A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
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.