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