Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class ModifyCacheSubnetGroupRequest

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

public class ModifyCacheSubnetGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ModifyCacheSubnetGroup operation.

Modifies an existing Cache Subnet Group.

See Also:
AmazonElastiCache.modifyCacheSubnetGroup(ModifyCacheSubnetGroupRequest), Serialized Form

Constructor Summary
ModifyCacheSubnetGroupRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheSubnetGroupDescription()
          The description for the Cache Subnet Group.
 String getCacheSubnetGroupName()
          The name for the Cache Subnet Group.
 List<String> getSubnetIds()
          The EC2 Subnet IDs for the Cache Subnet Group.
 int hashCode()
           
 void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
          The description for the Cache Subnet Group.
 void setCacheSubnetGroupName(String cacheSubnetGroupName)
          The name for the Cache Subnet Group.
 void setSubnetIds(Collection<String> subnetIds)
          The EC2 Subnet IDs for the Cache Subnet Group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ModifyCacheSubnetGroupRequest withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
          The description for the Cache Subnet Group.
 ModifyCacheSubnetGroupRequest withCacheSubnetGroupName(String cacheSubnetGroupName)
          The name for the Cache Subnet Group.
 ModifyCacheSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
          The EC2 Subnet IDs for the Cache Subnet Group.
 ModifyCacheSubnetGroupRequest withSubnetIds(String... subnetIds)
          The EC2 Subnet IDs for the Cache Subnet Group.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyCacheSubnetGroupRequest

public ModifyCacheSubnetGroupRequest()
Method Detail

getCacheSubnetGroupName

public String getCacheSubnetGroupName()
The name for the Cache Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

Returns:
The name for the Cache Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup


setCacheSubnetGroupName

public void setCacheSubnetGroupName(String cacheSubnetGroupName)
The name for the Cache Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

Parameters:
cacheSubnetGroupName - The name for the Cache Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup


withCacheSubnetGroupName

public ModifyCacheSubnetGroupRequest withCacheSubnetGroupName(String cacheSubnetGroupName)
The name for the Cache Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

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

Parameters:
cacheSubnetGroupName - The name for the Cache Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSubnetGroupDescription

public String getCacheSubnetGroupDescription()
The description for the Cache Subnet Group.

Returns:
The description for the Cache Subnet Group.

setCacheSubnetGroupDescription

public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description for the Cache Subnet Group.

Parameters:
cacheSubnetGroupDescription - The description for the Cache Subnet Group.

withCacheSubnetGroupDescription

public ModifyCacheSubnetGroupRequest withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description for the Cache Subnet Group.

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

Parameters:
cacheSubnetGroupDescription - The description for the Cache Subnet Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetIds

public List<String> getSubnetIds()
The EC2 Subnet IDs for the Cache Subnet Group.

Returns:
The EC2 Subnet IDs for the Cache Subnet Group.

setSubnetIds

public void setSubnetIds(Collection<String> subnetIds)
The EC2 Subnet IDs for the Cache Subnet Group.

Parameters:
subnetIds - The EC2 Subnet IDs for the Cache Subnet Group.

withSubnetIds

public ModifyCacheSubnetGroupRequest withSubnetIds(String... subnetIds)
The EC2 Subnet IDs for the Cache Subnet Group.

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

Parameters:
subnetIds - The EC2 Subnet IDs for the Cache Subnet Group.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnetIds

public ModifyCacheSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The EC2 Subnet IDs for the Cache Subnet Group.

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

Parameters:
subnetIds - The EC2 Subnet IDs for 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.