@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CacheSubnetGroup extends Object implements Serializable, Cloneable
Represents the output of one of the following operations:
CreateCacheSubnetGroup
ModifyCacheSubnetGroup
Constructor and Description |
---|
CacheSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
CacheSubnetGroup |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN (Amazon Resource Name) of the cache subnet group.
|
String |
getCacheSubnetGroupDescription()
The description of the cache subnet group.
|
String |
getCacheSubnetGroupName()
The name of the cache subnet group.
|
List<Subnet> |
getSubnets()
A list of subnets associated with the cache subnet group.
|
List<String> |
getSupportedNetworkTypes()
Either
ipv4 | ipv6 | dual_stack . |
String |
getVpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
|
int |
hashCode() |
void |
setARN(String aRN)
The ARN (Amazon Resource Name) of the cache subnet group.
|
void |
setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.
|
void |
setCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.
|
void |
setSubnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.
|
void |
setSupportedNetworkTypes(Collection<String> supportedNetworkTypes)
Either
ipv4 | ipv6 | dual_stack . |
void |
setVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
|
String |
toString()
Returns a string representation of this object.
|
CacheSubnetGroup |
withARN(String aRN)
The ARN (Amazon Resource Name) of the cache subnet group.
|
CacheSubnetGroup |
withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.
|
CacheSubnetGroup |
withCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.
|
CacheSubnetGroup |
withSubnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.
|
CacheSubnetGroup |
withSubnets(Subnet... subnets)
A list of subnets associated with the cache subnet group.
|
CacheSubnetGroup |
withSupportedNetworkTypes(Collection<String> supportedNetworkTypes)
Either
ipv4 | ipv6 | dual_stack . |
CacheSubnetGroup |
withSupportedNetworkTypes(NetworkType... supportedNetworkTypes)
Either
ipv4 | ipv6 | dual_stack . |
CacheSubnetGroup |
withSupportedNetworkTypes(String... supportedNetworkTypes)
Either
ipv4 | ipv6 | dual_stack . |
CacheSubnetGroup |
withVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
|
public void setCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.
cacheSubnetGroupName
- The name of the cache subnet group.public String getCacheSubnetGroupName()
The name of the cache subnet group.
public CacheSubnetGroup withCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.
cacheSubnetGroupName
- The name of the cache subnet group.public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.
cacheSubnetGroupDescription
- The description of the cache subnet group.public String getCacheSubnetGroupDescription()
The description of the cache subnet group.
public CacheSubnetGroup withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.
cacheSubnetGroupDescription
- The description of the cache subnet group.public void setVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.public String getVpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
public CacheSubnetGroup withVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.public List<Subnet> getSubnets()
A list of subnets associated with the cache subnet group.
public void setSubnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.
subnets
- A list of subnets associated with the cache subnet group.public CacheSubnetGroup withSubnets(Subnet... subnets)
A list of subnets associated with the cache subnet group.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- A list of subnets associated with the cache subnet group.public CacheSubnetGroup withSubnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.
subnets
- A list of subnets associated with the cache subnet group.public void setARN(String aRN)
The ARN (Amazon Resource Name) of the cache subnet group.
aRN
- The ARN (Amazon Resource Name) of the cache subnet group.public String getARN()
The ARN (Amazon Resource Name) of the cache subnet group.
public CacheSubnetGroup withARN(String aRN)
The ARN (Amazon Resource Name) of the cache subnet group.
aRN
- The ARN (Amazon Resource Name) of the cache subnet group.public List<String> getSupportedNetworkTypes()
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using
Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads
using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
Nitro system.NetworkType
public void setSupportedNetworkTypes(Collection<String> supportedNetworkTypes)
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using
Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
supportedNetworkTypes
- Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads
using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
Nitro system.NetworkType
public CacheSubnetGroup withSupportedNetworkTypes(String... supportedNetworkTypes)
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using
Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedNetworkTypes(java.util.Collection)
or
withSupportedNetworkTypes(java.util.Collection)
if you want to override the existing values.
supportedNetworkTypes
- Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads
using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
Nitro system.NetworkType
public CacheSubnetGroup withSupportedNetworkTypes(Collection<String> supportedNetworkTypes)
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using
Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
supportedNetworkTypes
- Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads
using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
Nitro system.NetworkType
public CacheSubnetGroup withSupportedNetworkTypes(NetworkType... supportedNetworkTypes)
Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads using
Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
supportedNetworkTypes
- Either ipv4
| ipv6
| dual_stack
. IPv6 is supported for workloads
using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
Nitro system.NetworkType
public String toString()
toString
in class Object
Object.toString()
public CacheSubnetGroup clone()