com.amazonaws.services.elasticache.model
Class CacheSubnetGroup

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.CacheSubnetGroup
All Implemented Interfaces:
Serializable

public class CacheSubnetGroup
extends Object
implements Serializable

Represents the output of one of the following operations:

See Also:
Serialized Form

Constructor Summary
CacheSubnetGroup()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheSubnetGroup

public CacheSubnetGroup()
Method Detail

getCacheSubnetGroupName

public String getCacheSubnetGroupName()
The name of the cache subnet group.

Returns:
The name of the cache subnet group.

setCacheSubnetGroupName

public void setCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.

Parameters:
cacheSubnetGroupName - The name of the cache subnet group.

withCacheSubnetGroupName

public CacheSubnetGroup withCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheSubnetGroupName - The name of the cache subnet group.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSubnetGroupDescription

public String getCacheSubnetGroupDescription()
The description of the cache subnet group.

Returns:
The description of the cache subnet group.

setCacheSubnetGroupDescription

public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.

Parameters:
cacheSubnetGroupDescription - The description of the cache subnet group.

withCacheSubnetGroupDescription

public CacheSubnetGroup withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheSubnetGroupDescription - The description of the cache subnet group.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String 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.

setVpcId

public void setVpcId(String vpcId)
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.

withVpcId

public CacheSubnetGroup withVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnets

public List<Subnet> getSubnets()
A list of subnets associated with the cache subnet group.

Returns:
A list of subnets associated with the cache subnet group.

setSubnets

public void setSubnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.

Parameters:
subnets - A list of subnets associated with the cache subnet group.

withSubnets

public CacheSubnetGroup withSubnets(Subnet... subnets)
A list of subnets associated with the cache subnet group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - A list of subnets associated with the cache subnet group.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public CacheSubnetGroup withSubnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - A list of subnets associated with the cache subnet group.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.