@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 |
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 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 String toString()
toString
in class Object
Object.toString()
public CacheSubnetGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.