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