CopyableBuilder<CreateCacheSubnetGroupRequest.Builder,CreateCacheSubnetGroupRequest>
, SdkBuilder<CreateCacheSubnetGroupRequest.Builder,CreateCacheSubnetGroupRequest>
public static interface CreateCacheSubnetGroupRequest.Builder extends CopyableBuilder<CreateCacheSubnetGroupRequest.Builder,CreateCacheSubnetGroupRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateCacheSubnetGroupRequest.Builder |
cacheSubnetGroupDescription(String cacheSubnetGroupDescription) |
A description for the cache subnet group.
|
CreateCacheSubnetGroupRequest.Builder |
cacheSubnetGroupName(String cacheSubnetGroupName) |
A name for the cache subnet group.
|
CreateCacheSubnetGroupRequest.Builder |
subnetIds(String... subnetIds) |
A list of VPC subnet IDs for the cache subnet group.
|
CreateCacheSubnetGroupRequest.Builder |
subnetIds(Collection<String> subnetIds) |
A list of VPC subnet IDs for the cache subnet group.
|
copy
apply, build
CreateCacheSubnetGroupRequest.Builder cacheSubnetGroupName(String cacheSubnetGroupName)
A 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
- A 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
CreateCacheSubnetGroupRequest.Builder cacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description for the cache subnet group.
cacheSubnetGroupDescription
- A description for the cache subnet group.CreateCacheSubnetGroupRequest.Builder subnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the cache subnet group.
subnetIds
- A list of VPC subnet IDs for the cache subnet group.CreateCacheSubnetGroupRequest.Builder subnetIds(String... subnetIds)
A list of VPC 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
- A list of VPC subnet IDs for the cache subnet group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.