Interface RebootCacheClusterResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<RebootCacheClusterResponse.Builder,,RebootCacheClusterResponse> ElastiCacheResponse.Builder,SdkBuilder<RebootCacheClusterResponse.Builder,,RebootCacheClusterResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 RebootCacheClusterResponse
public static interface RebootCacheClusterResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<RebootCacheClusterResponse.Builder,RebootCacheClusterResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioncacheCluster(Consumer<CacheCluster.Builder> cacheCluster) Sets the value of the CacheCluster property for this object.cacheCluster(CacheCluster cacheCluster) Sets the value of the CacheCluster property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
cacheCluster
Sets the value of the CacheCluster property for this object.- Parameters:
 cacheCluster- The new value for the CacheCluster property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
cacheCluster
default RebootCacheClusterResponse.Builder cacheCluster(Consumer<CacheCluster.Builder> cacheCluster) Sets the value of the CacheCluster property for this object. This is a convenience method that creates an instance of theCacheCluster.Builderavoiding the need to create one manually viaCacheCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocacheCluster(CacheCluster).- Parameters:
 cacheCluster- a consumer that will call methods onCacheCluster.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -