@Generated(value="software.amazon.awssdk:codegen") public final class CacheSecurityGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>
Represents the output of one of the following operations:
AuthorizeCacheSecurityGroupIngress
CreateCacheSecurityGroup
RevokeCacheSecurityGroupIngress
| Modifier and Type | Class and Description |
|---|---|
static interface |
CacheSecurityGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CacheSecurityGroup.Builder |
builder() |
String |
cacheSecurityGroupName()
The name of the cache security group.
|
String |
description()
The description of the cache security group.
|
List<EC2SecurityGroup> |
ec2SecurityGroups()
A list of Amazon EC2 security groups that are associated with this cache 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() |
String |
ownerId()
The AWS account ID of the cache security group owner.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CacheSecurityGroup.Builder> |
serializableBuilderClass() |
CacheSecurityGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String ownerId()
The AWS account ID of the cache security group owner.
public String cacheSecurityGroupName()
The name of the cache security group.
public String description()
The description of the cache security group.
public boolean hasEc2SecurityGroups()
public List<EC2SecurityGroup> ec2SecurityGroups()
A list of Amazon EC2 security groups that are associated with this cache 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 CacheSecurityGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>public static CacheSecurityGroup.Builder builder()
public static Class<? extends CacheSecurityGroup.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.