public static interface GetSnapshotResponse.Builder extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<GetSnapshotResponse.Builder,GetSnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetSnapshotResponse.Builder |
snapshot(Consumer<Snapshot.Builder> snapshot)
The returned snapshot object.
|
GetSnapshotResponse.Builder |
snapshot(Snapshot snapshot)
The returned snapshot object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSnapshotResponse.Builder snapshot(Snapshot snapshot)
The returned snapshot object.
snapshot - The returned snapshot object.default GetSnapshotResponse.Builder snapshot(Consumer<Snapshot.Builder> snapshot)
The returned snapshot object.
This is a convenience method that creates an instance of theSnapshot.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.Buildersnapshot(Snapshot)Copyright © 2022. All rights reserved.