Class CacheSubnetGroup
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of one of the following actions:
- CreateCacheSubnetGroup
- ModifyCacheSubnetGroup
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The description of the cache subnet group.The name of the cache subnet group.A list of subnets associated with the cache subnet group.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
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheSubnetGroupDescription
(String cacheSubnetGroupDescription) The description of the cache subnet group.withCacheSubnetGroupName
(String cacheSubnetGroupName) The name of the cache subnet group.withSubnets
(Subnet... subnets) A list of subnets associated with the cache subnet group.withSubnets
(Collection<Subnet> subnets) A list of subnets associated with the cache subnet group.The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
-
Constructor Details
-
CacheSubnetGroup
public CacheSubnetGroup()
-
-
Method Details
-
setCacheSubnetGroupName
The name of the cache subnet group.
- Parameters:
cacheSubnetGroupName
- The name of the cache subnet group.
-
getCacheSubnetGroupName
The name of the cache subnet group.
- Returns:
- The name of the cache subnet group.
-
withCacheSubnetGroupName
The name of the cache subnet group.
- Parameters:
cacheSubnetGroupName
- The name of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheSubnetGroupDescription
The description of the cache subnet group.
- Parameters:
cacheSubnetGroupDescription
- The description of the cache subnet group.
-
getCacheSubnetGroupDescription
The description of the cache subnet group.
- Returns:
- The description of the cache subnet group.
-
withCacheSubnetGroupDescription
The description of the cache subnet group.
- Parameters:
cacheSubnetGroupDescription
- The description of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
- Parameters:
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
-
getVpcId
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
- Returns:
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
-
withVpcId
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
- Parameters:
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnets
A list of subnets associated with the cache subnet group.
- Returns:
- A list of subnets associated with the cache subnet group.
-
setSubnets
A list of subnets associated with the cache subnet group.
- Parameters:
subnets
- A list of subnets associated with the cache subnet group.
-
withSubnets
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)
orwithSubnets(java.util.Collection)
if you want to override the existing values.- Parameters:
subnets
- A list of subnets associated with the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnets
A list of subnets associated with the cache subnet group.
- Parameters:
subnets
- A list of subnets associated with the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-