public static interface CreateClusterResponse.Builder extends RedshiftResponse.Builder, CopyableBuilder<CreateClusterResponse.Builder,CreateClusterResponse>
Modifier and Type | Method and Description |
---|---|
CreateClusterResponse.Builder |
cluster(Cluster cluster)
Sets the value of the Cluster property for this object.
|
default CreateClusterResponse.Builder |
cluster(Consumer<Cluster.Builder> cluster)
Sets the value of the Cluster property for this object.
|
build
copy
apply, build
CreateClusterResponse.Builder cluster(Cluster cluster)
cluster
- The new value for the Cluster property for this object.default CreateClusterResponse.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.