public static interface CopySnapshotResponse.Builder extends MemoryDbResponse.Builder, SdkPojo, CopyableBuilder<CopySnapshotResponse.Builder,CopySnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
default CopySnapshotResponse.Builder |
snapshot(Consumer<Snapshot.Builder> snapshot)
Represents a copy of an entire cluster as of the time when the snapshot was taken.
|
CopySnapshotResponse.Builder |
snapshot(Snapshot snapshot)
Represents a copy of an entire cluster as of the time when the snapshot was taken.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCopySnapshotResponse.Builder snapshot(Snapshot snapshot)
Represents a copy of an entire cluster as of the time when the snapshot was taken.
snapshot - Represents a copy of an entire cluster as of the time when the snapshot was taken.default CopySnapshotResponse.Builder snapshot(Consumer<Snapshot.Builder> snapshot)
Represents a copy of an entire cluster as of the time when the snapshot was taken.
This is a convenience 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 © 2021. All rights reserved.