public static interface UpdateSnapshotResponse.Builder extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<UpdateSnapshotResponse.Builder,UpdateSnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
default UpdateSnapshotResponse.Builder |
snapshot(Consumer<Snapshot.Builder> snapshot)
The updated snapshot object.
|
UpdateSnapshotResponse.Builder |
snapshot(Snapshot snapshot)
The updated snapshot object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateSnapshotResponse.Builder snapshot(Snapshot snapshot)
The updated snapshot object.
snapshot - The updated snapshot object.default UpdateSnapshotResponse.Builder snapshot(Consumer<Snapshot.Builder> snapshot)
The updated 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 © 2023. All rights reserved.