public static interface CreateCacheParameterGroupResponse.Builder extends ElastiCacheResponse.Builder, CopyableBuilder<CreateCacheParameterGroupResponse.Builder,CreateCacheParameterGroupResponse>
Modifier and Type | Method and Description |
---|---|
CreateCacheParameterGroupResponse.Builder |
cacheParameterGroup(CacheParameterGroup cacheParameterGroup)
Sets the value of the CacheParameterGroup property for this object.
|
default CreateCacheParameterGroupResponse.Builder |
cacheParameterGroup(Consumer<CacheParameterGroup.Builder> cacheParameterGroup)
Sets the value of the CacheParameterGroup property for this object.
|
build
copy
apply, build
CreateCacheParameterGroupResponse.Builder cacheParameterGroup(CacheParameterGroup cacheParameterGroup)
cacheParameterGroup
- The new value for the CacheParameterGroup property for this object.default CreateCacheParameterGroupResponse.Builder cacheParameterGroup(Consumer<CacheParameterGroup.Builder> cacheParameterGroup)
CacheParameterGroup.Builder
avoiding the need
to create one manually via CacheParameterGroup.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to cacheParameterGroup(CacheParameterGroup)
.cacheParameterGroup
- a consumer that will call methods on CacheParameterGroup.Builder
cacheParameterGroup(CacheParameterGroup)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.