public class ClusterSecurityGroup extends Object implements Serializable
Describes a security group.
Constructor and Description |
---|
ClusterSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getClusterSecurityGroupName()
public void setClusterSecurityGroupName(String clusterSecurityGroupName)
clusterSecurityGroupName
- The name of the cluster security group to which the operation was
applied.public ClusterSecurityGroup withClusterSecurityGroupName(String clusterSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
clusterSecurityGroupName
- The name of the cluster security group to which the operation was
applied.public String getDescription()
public void setDescription(String description)
description
- A description of the security group.public ClusterSecurityGroup withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description of the security group.public List<EC2SecurityGroup> getEC2SecurityGroups()
public void setEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
eC2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters
associated with this cluster security group.public ClusterSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters
associated with this cluster security group.public ClusterSecurityGroup withEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters
associated with this cluster security group.public List<IPRange> getIPRanges()
public void setIPRanges(Collection<IPRange> iPRanges)
iPRanges
- A list of IP ranges (CIDR blocks) that are permitted to access
clusters associated with this cluster security group.public ClusterSecurityGroup withIPRanges(IPRange... iPRanges)
Returns a reference to this object so that method calls can be chained together.
iPRanges
- A list of IP ranges (CIDR blocks) that are permitted to access
clusters associated with this cluster security group.public ClusterSecurityGroup withIPRanges(Collection<IPRange> iPRanges)
Returns a reference to this object so that method calls can be chained together.
iPRanges
- A list of IP ranges (CIDR blocks) that are permitted to access
clusters associated with this cluster security group.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.