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