public static interface CreateClusterSnapshotResponse.Builder extends DocDbElasticResponse.Builder, SdkPojo, CopyableBuilder<CreateClusterSnapshotResponse.Builder,CreateClusterSnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateClusterSnapshotResponse.Builder |
snapshot(ClusterSnapshot snapshot)
Returns information about the new Elastic DocumentDB snapshot.
|
default CreateClusterSnapshotResponse.Builder |
snapshot(Consumer<ClusterSnapshot.Builder> snapshot)
Returns information about the new Elastic DocumentDB snapshot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateClusterSnapshotResponse.Builder snapshot(ClusterSnapshot snapshot)
Returns information about the new Elastic DocumentDB snapshot.
snapshot - Returns information about the new Elastic DocumentDB snapshot.default CreateClusterSnapshotResponse.Builder snapshot(Consumer<ClusterSnapshot.Builder> snapshot)
Returns information about the new 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.