@Generated(value="software.amazon.awssdk:codegen") public final class ClusterSecurityGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>
Describes a security group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterSecurityGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusterSecurityGroup.Builder |
builder() |
String |
clusterSecurityGroupName()
The name of the cluster security group to which the operation was applied.
|
String |
description()
A description of the security group.
|
List<EC2SecurityGroup> |
ec2SecurityGroups()
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEc2SecurityGroups()
Returns true if the EC2SecurityGroups property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasIpRanges()
Returns true if the IPRanges property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<IPRange> |
ipRanges()
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security
group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClusterSecurityGroup.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The list of tags for the cluster security group.
|
ClusterSecurityGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String clusterSecurityGroupName()
The name of the cluster security group to which the operation was applied.
public String description()
A description of the security group.
public boolean hasEc2SecurityGroups()
public List<EC2SecurityGroup> ec2SecurityGroups()
A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEc2SecurityGroups() to see if a value was sent in this field.
public boolean hasIpRanges()
public List<IPRange> ipRanges()
A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIpRanges() to see if a value was sent in this field.
public boolean hasTags()
public List<Tag> tags()
The list of tags for the cluster security group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public ClusterSecurityGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClusterSecurityGroup.Builder,ClusterSecurityGroup>public static ClusterSecurityGroup.Builder builder()
public static Class<? extends ClusterSecurityGroup.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.