Interface CreateCacheSubnetGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCacheSubnetGroupResponse.Builder,CreateCacheSubnetGroupResponse>,ElastiCacheResponse.Builder,SdkBuilder<CreateCacheSubnetGroupResponse.Builder,CreateCacheSubnetGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateCacheSubnetGroupResponse
@Mutable @NotThreadSafe public static interface CreateCacheSubnetGroupResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<CreateCacheSubnetGroupResponse.Builder,CreateCacheSubnetGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCacheSubnetGroupResponse.BuildercacheSubnetGroup(Consumer<CacheSubnetGroup.Builder> cacheSubnetGroup)Sets the value of the CacheSubnetGroup property for this object.CreateCacheSubnetGroupResponse.BuildercacheSubnetGroup(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
cacheSubnetGroup
CreateCacheSubnetGroupResponse.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 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:
cacheSubnetGroup(CacheSubnetGroup)
-
-