Class ModifyCacheSubnetGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a ModifyCacheSubnetGroup action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A description for the cache subnet group.The name for the cache subnet group.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheSubnetGroupDescription
(String cacheSubnetGroupDescription) A description for the cache subnet group.withCacheSubnetGroupName
(String cacheSubnetGroupName) The name for the cache subnet group.withSubnetIds
(String... subnetIds) The EC2 subnet IDs for the cache subnet group.withSubnetIds
(Collection<String> subnetIds) The EC2 subnet IDs for the cache subnet group.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ModifyCacheSubnetGroupRequest
public ModifyCacheSubnetGroupRequest()
-
-
Method Details
-
setCacheSubnetGroupName
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
-
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
-
withCacheSubnetGroupName
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheSubnetGroupDescription
A description for the cache subnet group.
- Parameters:
cacheSubnetGroupDescription
- A description for the cache subnet group.
-
getCacheSubnetGroupDescription
A description for the cache subnet group.
- Returns:
- A description for the cache subnet group.
-
withCacheSubnetGroupDescription
public ModifyCacheSubnetGroupRequest withCacheSubnetGroupDescription(String cacheSubnetGroupDescription) A description for the cache subnet group.
- Parameters:
cacheSubnetGroupDescription
- A description for the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
The EC2 subnet IDs for the cache subnet group.
- Returns:
- The EC2 subnet IDs for the cache subnet group.
-
setSubnetIds
The EC2 subnet IDs for the cache subnet group.
- Parameters:
subnetIds
- The EC2 subnet IDs for the cache subnet group.
-
withSubnetIds
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)
orwithSubnetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
subnetIds
- The EC2 subnet IDs for the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
The EC2 subnet IDs for the cache subnet group.
- Parameters:
subnetIds
- The EC2 subnet IDs for the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-