Interface CreateCacheSubnetGroupResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateCacheSubnetGroupResponse.Builder,,CreateCacheSubnetGroupResponse> ElastiCacheResponse.Builder,SdkBuilder<CreateCacheSubnetGroupResponse.Builder,,CreateCacheSubnetGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateCacheSubnetGroupResponse
public static interface CreateCacheSubnetGroupResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<CreateCacheSubnetGroupResponse.Builder,CreateCacheSubnetGroupResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioncacheSubnetGroup(Consumer<CacheSubnetGroup.Builder> cacheSubnetGroup) Sets the value of the CacheSubnetGroup property for this object.cacheSubnetGroup(CacheSubnetGroup cacheSubnetGroup) Sets the value of the CacheSubnetGroup property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
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 CreateCacheSubnetGroupResponse.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.Builderavoiding the need to create one manually viaCacheSubnetGroup.builder().When the
Consumercompletes,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:
 
 
 -