public class ModifyCacheSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable
ModifyCacheSubnetGroup operation
.
The ModifyCacheSubnetGroup operation modifies an existing cache subnet group.
Constructor and Description |
---|
ModifyCacheSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheSubnetGroupDescription()
A 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)
A 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)
A 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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getCacheSubnetGroupName()
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example:
mysubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example:
mysubnetgroup
public void setCacheSubnetGroupName(String cacheSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example:
mysubnetgroup
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
public ModifyCacheSubnetGroupRequest withCacheSubnetGroupName(String cacheSubnetGroupName)
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.
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
public String getCacheSubnetGroupDescription()
public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
cacheSubnetGroupDescription
- A description for the cache subnet group.public ModifyCacheSubnetGroupRequest withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
Returns a reference to this object so that method calls can be chained together.
cacheSubnetGroupDescription
- A description for the cache subnet group.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- The EC2 subnet IDs for the cache subnet group.public ModifyCacheSubnetGroupRequest withSubnetIds(String... subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- The EC2 subnet IDs for the cache subnet group.public ModifyCacheSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- The EC2 subnet IDs for the cache subnet group.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.