public class CacheSubnetGroup extends Object implements Serializable, Cloneable
Represents the output of one of the following actions:
Constructor and Description |
---|
CacheSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
CacheSubnetGroup |
clone() |
boolean |
equals(Object obj) |
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.
|
String |
getVpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache
subnet group.
|
int |
hashCode() |
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 |
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; useful for testing and
debugging.
|
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 |
withVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache
subnet group.
|
public String getCacheSubnetGroupName()
public void setCacheSubnetGroupName(String cacheSubnetGroupName)
cacheSubnetGroupName
- The name of the cache subnet group.public CacheSubnetGroup withCacheSubnetGroupName(String cacheSubnetGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheSubnetGroupName
- The name of the cache subnet group.public String getCacheSubnetGroupDescription()
public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
cacheSubnetGroupDescription
- The description of the cache subnet group.public CacheSubnetGroup withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
Returns a reference to this object so that method calls can be chained together.
cacheSubnetGroupDescription
- The description of the cache subnet group.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache
subnet group.public CacheSubnetGroup withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache
subnet group.public List<Subnet> getSubnets()
public void setSubnets(Collection<Subnet> subnets)
subnets
- A list of subnets associated with the cache subnet group.public CacheSubnetGroup withSubnets(Subnet... subnets)
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.
Returns a reference to this object so that method calls can be chained together.
subnets
- A list of subnets associated with the cache subnet group.public CacheSubnetGroup withSubnets(Collection<Subnet> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- A list of subnets associated with the cache subnet group.public String toString()
toString
in class Object
Object.toString()
public CacheSubnetGroup clone()
Copyright © 2016. All rights reserved.