@Generated(value="software.amazon.awssdk:codegen") public final class CacheSubnetGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>
Represents the output of one of the following operations:
CreateCacheSubnetGroup
ModifyCacheSubnetGroup
Modifier and Type | Class and Description |
---|---|
static interface |
CacheSubnetGroup.Builder |
Modifier and Type | Method and Description |
---|---|
static CacheSubnetGroup.Builder |
builder() |
String |
cacheSubnetGroupDescription()
The description of the cache subnet group.
|
String |
cacheSubnetGroupName()
The name of the cache subnet group.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CacheSubnetGroup.Builder> |
serializableBuilderClass() |
List<Subnet> |
subnets()
A list of subnets associated with the cache subnet group.
|
CacheSubnetGroup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
|
copy
public String cacheSubnetGroupName()
The name of the cache subnet group.
public String cacheSubnetGroupDescription()
The description of the cache subnet group.
public String vpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
public List<Subnet> subnets()
A list of subnets associated with the cache subnet group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CacheSubnetGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>
public static CacheSubnetGroup.Builder builder()
public static Class<? extends CacheSubnetGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.