@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterSecurityGroup extends Object implements Serializable, Cloneable
Describes a security group.
Constructor and Description |
---|
ClusterSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
ClusterSecurityGroup |
clone() |
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.
|
List<Tag> |
getTags()
The list of tags for the 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.
|
void |
setTags(Collection<Tag> tags)
The list of tags for the 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.
|
ClusterSecurityGroup |
withTags(Collection<Tag> tags)
The list of tags for the cluster security group.
|
ClusterSecurityGroup |
withTags(Tag... tags)
The list of tags for the cluster security group.
|
public void setClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group to which the operation was applied.
clusterSecurityGroupName
- The name of the cluster security group to which the operation was applied.public String getClusterSecurityGroupName()
The name of the cluster security group to which the operation was applied.
public ClusterSecurityGroup withClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group to which the operation was applied.
clusterSecurityGroupName
- The name of the cluster security group to which the operation was applied.public void setDescription(String description)
A description of the security group.
description
- A description of the security group.public String getDescription()
A description of the security group.
public ClusterSecurityGroup withDescription(String description)
A description of the security group.
description
- A description of the security group.public List<EC2SecurityGroup> getEC2SecurityGroups()
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
public void setEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
eC2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters associated with this cluster security
group.public ClusterSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
NOTE: This method appends the values to the existing list (if any). Use
setEC2SecurityGroups(java.util.Collection)
or withEC2SecurityGroups(java.util.Collection)
if
you want to override the existing values.
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)
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
eC2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters associated with this cluster security
group.public List<IPRange> getIPRanges()
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
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.
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)
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
NOTE: This method appends the values to the existing list (if any). Use
setIPRanges(java.util.Collection)
or withIPRanges(java.util.Collection)
if you want to override
the existing values.
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)
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
iPRanges
- A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster
security group.public List<Tag> getTags()
The list of tags for the cluster security group.
public void setTags(Collection<Tag> tags)
The list of tags for the cluster security group.
tags
- The list of tags for the cluster security group.public ClusterSecurityGroup withTags(Tag... tags)
The list of tags for the cluster security group.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags for the cluster security group.public ClusterSecurityGroup withTags(Collection<Tag> tags)
The list of tags for the cluster security group.
tags
- The list of tags for the cluster security group.public String toString()
toString
in class Object
Object.toString()
public ClusterSecurityGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.