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:
java.io.Serializable

public class ClusterSecurityGroup
extends java.lang.Object
implements java.io.Serializable

Describes a security group.

See Also:
Serialized Form

Constructor Summary
ClusterSecurityGroup()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClusterSecurityGroupName()
          The name of the cluster security group to which the operation was applied.
 java.lang.String getDescription()
          A description of the security group.
 java.util.List<EC2SecurityGroup> getEC2SecurityGroups()
          A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
 java.util.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(java.lang.String clusterSecurityGroupName)
          The name of the cluster security group to which the operation was applied.
 void setDescription(java.lang.String description)
          A description of the security group.
 void setEC2SecurityGroups(java.util.Collection<EC2SecurityGroup> eC2SecurityGroups)
          A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
 void setIPRanges(java.util.Collection<IPRange> iPRanges)
          A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ClusterSecurityGroup withClusterSecurityGroupName(java.lang.String clusterSecurityGroupName)
          The name of the cluster security group to which the operation was applied.
 ClusterSecurityGroup withDescription(java.lang.String description)
          A description of the security group.
 ClusterSecurityGroup withEC2SecurityGroups(java.util.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(java.util.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 java.lang.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(java.lang.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(java.lang.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.

getDescription

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

Returns:
A description of the security group.

setDescription

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

Parameters:
description - A description of the security group.

withDescription

public ClusterSecurityGroup withDescription(java.lang.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.

getEC2SecurityGroups

public java.util.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(java.util.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.

withEC2SecurityGroups

public ClusterSecurityGroup withEC2SecurityGroups(java.util.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.

getIPRanges

public java.util.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(java.util.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.

withIPRanges

public ClusterSecurityGroup withIPRanges(java.util.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.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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