Interface CreateCacheParameterGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCacheParameterGroupResponse.Builder,CreateCacheParameterGroupResponse>,ElastiCacheResponse.Builder,SdkBuilder<CreateCacheParameterGroupResponse.Builder,CreateCacheParameterGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateCacheParameterGroupResponse
public static interface CreateCacheParameterGroupResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<CreateCacheParameterGroupResponse.Builder,CreateCacheParameterGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCacheParameterGroupResponse.BuildercacheParameterGroup(Consumer<CacheParameterGroup.Builder> cacheParameterGroup)Sets the value of the CacheParameterGroup property for this object.CreateCacheParameterGroupResponse.BuildercacheParameterGroup(CacheParameterGroup cacheParameterGroup)Sets the value of the CacheParameterGroup 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
-
cacheParameterGroup
CreateCacheParameterGroupResponse.Builder cacheParameterGroup(CacheParameterGroup cacheParameterGroup)
Sets the value of the CacheParameterGroup property for this object.- Parameters:
cacheParameterGroup- The new value for the CacheParameterGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheParameterGroup
default CreateCacheParameterGroupResponse.Builder cacheParameterGroup(Consumer<CacheParameterGroup.Builder> cacheParameterGroup)
Sets the value of the CacheParameterGroup property for this object. This is a convenience method that creates an instance of theCacheParameterGroup.Builderavoiding the need to create one manually viaCacheParameterGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocacheParameterGroup(CacheParameterGroup).- Parameters:
cacheParameterGroup- a consumer that will call methods onCacheParameterGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cacheParameterGroup(CacheParameterGroup)
-
-