@Generated(value="software.amazon.awssdk:codegen") public class CacheSecurityGroup extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ownerId()
The AWS account ID of the cache security group owner.
|
static Class<? extends CacheSecurityGroup.Builder> |
serializableBuilderClass() |
CacheSecurityGroup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 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.
public CacheSecurityGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CacheSecurityGroup.Builder,CacheSecurityGroup>
public static CacheSecurityGroup.Builder builder()
public static Class<? extends CacheSecurityGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.