Interface ModifyCacheSubnetGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyCacheSubnetGroupRequest.Builder,
,ModifyCacheSubnetGroupRequest> ElastiCacheRequest.Builder
,SdkBuilder<ModifyCacheSubnetGroupRequest.Builder,
,ModifyCacheSubnetGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyCacheSubnetGroupRequest
public static interface ModifyCacheSubnetGroupRequest.Builder
extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<ModifyCacheSubnetGroupRequest.Builder,ModifyCacheSubnetGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncacheSubnetGroupDescription
(String cacheSubnetGroupDescription) A description of the cache subnet group.cacheSubnetGroupName
(String cacheSubnetGroupName) The name for the cache subnet group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The EC2 subnet IDs for the cache subnet group.subnetIds
(Collection<String> subnetIds) The EC2 subnet IDs for the cache subnet group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheSubnetGroupDescription
ModifyCacheSubnetGroupRequest.Builder cacheSubnetGroupDescription(String cacheSubnetGroupDescription) A description of the cache subnet group.
- Parameters:
cacheSubnetGroupDescription
- A description of the cache subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
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.
-
subnetIds
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.
-
overrideConfiguration
ModifyCacheSubnetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyCacheSubnetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-