Did this page help you?

   Yes   No   Tell us about it...

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

Contains the result of a successful invocation of the following actions:

This data type is used as a response element in the DescribeCacheSubnetGroups action.

See Also:
Serialized Form

Constructor Summary
CacheSubnetGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheSubnetGroupDescription()
          Provides the description of the Cache Subnet Group.
 String getCacheSubnetGroupName()
          Specifies the name of the Cache Subnet Group.
 List<Subnet> getSubnets()
          Contains a list of subnets for this group.
 String getVpcId()
          Provides the VPC ID of the Cache Subnet Group.
 int hashCode()
           
 void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
          Provides the description of the Cache Subnet Group.
 void setCacheSubnetGroupName(String cacheSubnetGroupName)
          Specifies the name of the Cache Subnet Group.
 void setSubnets(Collection<Subnet> subnets)
          Contains a list of subnets for this group.
 void setVpcId(String vpcId)
          Provides the 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)
          Provides the description of the Cache Subnet Group.
 CacheSubnetGroup withCacheSubnetGroupName(String cacheSubnetGroupName)
          Specifies the name of the Cache Subnet Group.
 CacheSubnetGroup withSubnets(Collection<Subnet> subnets)
          Contains a list of subnets for this group.
 CacheSubnetGroup withSubnets(Subnet... subnets)
          Contains a list of subnets for this group.
 CacheSubnetGroup withVpcId(String vpcId)
          Provides the VPC ID of the Cache Subnet Group.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheSubnetGroup

public CacheSubnetGroup()
Method Detail

getCacheSubnetGroupName

public String getCacheSubnetGroupName()
Specifies the name of the Cache Subnet Group.

Returns:
Specifies the name of the Cache Subnet Group.

setCacheSubnetGroupName

public void setCacheSubnetGroupName(String cacheSubnetGroupName)
Specifies the name of the Cache Subnet Group.

Parameters:
cacheSubnetGroupName - Specifies the name of the Cache Subnet Group.

withCacheSubnetGroupName

public CacheSubnetGroup withCacheSubnetGroupName(String cacheSubnetGroupName)
Specifies the name of the Cache Subnet Group.

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

Parameters:
cacheSubnetGroupName - Specifies 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()
Provides the description of the Cache Subnet Group.

Returns:
Provides the description of the Cache Subnet Group.

setCacheSubnetGroupDescription

public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
Provides the description of the Cache Subnet Group.

Parameters:
cacheSubnetGroupDescription - Provides the description of the Cache Subnet Group.

withCacheSubnetGroupDescription

public CacheSubnetGroup withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
Provides the description of the Cache Subnet Group.

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

Parameters:
cacheSubnetGroupDescription - Provides 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()
Provides the VPC ID of the Cache Subnet Group.

Returns:
Provides the VPC ID of the Cache Subnet Group.

setVpcId

public void setVpcId(String vpcId)
Provides the VPC ID of the Cache Subnet Group.

Parameters:
vpcId - Provides the VPC ID of the Cache Subnet Group.

withVpcId

public CacheSubnetGroup withVpcId(String vpcId)
Provides the VPC ID of the Cache Subnet Group.

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

Parameters:
vpcId - Provides the 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()
Contains a list of subnets for this group.

Returns:
Contains a list of subnets for this group.

setSubnets

public void setSubnets(Collection<Subnet> subnets)
Contains a list of subnets for this group.

Parameters:
subnets - Contains a list of subnets for this group.

withSubnets

public CacheSubnetGroup withSubnets(Subnet... subnets)
Contains a list of subnets for this group.

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

Parameters:
subnets - Contains a list of subnets for this group.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public CacheSubnetGroup withSubnets(Collection<Subnet> subnets)
Contains a list of subnets for this group.

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

Parameters:
subnets - Contains a list of subnets for this 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.