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