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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildRebootCacheClusterResponse.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.BuildercacheCluster(CacheCluster)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.