public static interface GetClusterSnapshotResponse.Builder extends DocDbElasticResponse.Builder, SdkPojo, CopyableBuilder<GetClusterSnapshotResponse.Builder,GetClusterSnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
GetClusterSnapshotResponse.Builder |
snapshot(ClusterSnapshot snapshot)
Returns information about a specific Elastic DocumentDB snapshot.
|
default GetClusterSnapshotResponse.Builder |
snapshot(Consumer<ClusterSnapshot.Builder> snapshot)
Returns information about a specific Elastic DocumentDB snapshot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetClusterSnapshotResponse.Builder snapshot(ClusterSnapshot snapshot)
Returns information about a specific Elastic DocumentDB snapshot.
snapshot - Returns information about a specific Elastic DocumentDB snapshot.default GetClusterSnapshotResponse.Builder snapshot(Consumer<ClusterSnapshot.Builder> snapshot)
Returns information about a specific Elastic DocumentDB snapshot.
This is a convenience method that creates an instance of theClusterSnapshot.Builder avoiding the
need to create one manually via ClusterSnapshot.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to snapshot(ClusterSnapshot).
snapshot - a consumer that will call methods on ClusterSnapshot.Buildersnapshot(ClusterSnapshot)Copyright © 2023. All rights reserved.