Class ClusterSecurityGroup
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a security group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the cluster security group to which the operation was applied.A description of the security group.A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.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.toString()
Returns a string representation of this object; useful for testing and debugging.withClusterSecurityGroupName
(String clusterSecurityGroupName) The name of the cluster security group to which the operation was applied.withDescription
(String description) A description of the security group.withEC2SecurityGroups
(EC2SecurityGroup... eC2SecurityGroups) A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.withEC2SecurityGroups
(Collection<EC2SecurityGroup> eC2SecurityGroups) A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.withIPRanges
(IPRange... iPRanges) A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.withIPRanges
(Collection<IPRange> iPRanges) A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.The list of tags for the cluster security group.withTags
(Collection<Tag> tags) The list of tags for the cluster security group.
-
Constructor Details
-
ClusterSecurityGroup
public ClusterSecurityGroup()
-
-
Method Details
-
setClusterSecurityGroupName
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.
-
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.
-
withClusterSecurityGroupName
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description of the security group.
- Parameters:
description
- A description of the security group.
-
getDescription
A description of the security group.
- Returns:
- A description of the security group.
-
withDescription
A description of the security group.
- Parameters:
description
- A description of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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)
orwithEC2SecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
eC2SecurityGroups
- A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEC2SecurityGroups
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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)
orwithIPRanges(java.util.Collection)
if you want to override the existing values.- Parameters:
iPRanges
- A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIPRanges
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
The list of tags for the cluster security group.
- Returns:
- The list of tags for the cluster security group.
-
setTags
The list of tags for the cluster security group.
- Parameters:
tags
- The list of tags for the cluster security group.
-
withTags
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)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- The list of tags for the cluster security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The list of tags for the cluster security group.
- Parameters:
tags
- The list of tags for the cluster security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-