@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyCacheSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ModifyCacheSubnetGroup
operation.
NOOP
Constructor and Description |
---|
ModifyCacheSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyCacheSubnetGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCacheSubnetGroupDescription()
A description of 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 of 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 of 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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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
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 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
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
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
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 void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description of the cache subnet group.
cacheSubnetGroupDescription
- A description of the cache subnet group.public String getCacheSubnetGroupDescription()
A description of the cache subnet group.
public ModifyCacheSubnetGroupRequest withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description of the cache subnet group.
cacheSubnetGroupDescription
- A description of the cache subnet group.public List<String> getSubnetIds()
The EC2 subnet IDs for the cache subnet group.
public void setSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the cache subnet group.
subnetIds
- The EC2 subnet IDs for the cache subnet group.public ModifyCacheSubnetGroupRequest withSubnetIds(String... subnetIds)
The EC2 subnet IDs for the cache subnet group.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The EC2 subnet IDs for the cache subnet group.public ModifyCacheSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the cache subnet group.
subnetIds
- The EC2 subnet IDs for the cache subnet group.public String toString()
toString
in class Object
Object.toString()
public ModifyCacheSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.