Interface ModifyCacheSubnetGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyCacheSubnetGroupResponse.Builder,ModifyCacheSubnetGroupResponse>
,ElastiCacheResponse.Builder
,SdkBuilder<ModifyCacheSubnetGroupResponse.Builder,ModifyCacheSubnetGroupResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ModifyCacheSubnetGroupResponse
public static interface ModifyCacheSubnetGroupResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<ModifyCacheSubnetGroupResponse.Builder,ModifyCacheSubnetGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModifyCacheSubnetGroupResponse.Builder
cacheSubnetGroup(Consumer<CacheSubnetGroup.Builder> cacheSubnetGroup)
Sets the value of the CacheSubnetGroup property for this object.ModifyCacheSubnetGroupResponse.Builder
cacheSubnetGroup(CacheSubnetGroup cacheSubnetGroup)
Sets the value of the CacheSubnetGroup property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
cacheSubnetGroup
ModifyCacheSubnetGroupResponse.Builder cacheSubnetGroup(CacheSubnetGroup cacheSubnetGroup)
Sets the value of the CacheSubnetGroup property for this object.- Parameters:
cacheSubnetGroup
- The new value for the CacheSubnetGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheSubnetGroup
default ModifyCacheSubnetGroupResponse.Builder cacheSubnetGroup(Consumer<CacheSubnetGroup.Builder> cacheSubnetGroup)
Sets the value of the CacheSubnetGroup property for this object. This is a convenience method that creates an instance of theCacheSubnetGroup.Builder
avoiding the need to create one manually viaCacheSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocacheSubnetGroup(CacheSubnetGroup)
.- Parameters:
cacheSubnetGroup
- a consumer that will call methods onCacheSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cacheSubnetGroup(CacheSubnetGroup)
-
-