public static interface CreateSnapshotResponse.Builder extends FSxResponse.Builder, SdkPojo, CopyableBuilder<CreateSnapshotResponse.Builder,CreateSnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateSnapshotResponse.Builder |
snapshot(Consumer<Snapshot.Builder> snapshot)
A description of the snapshot.
|
CreateSnapshotResponse.Builder |
snapshot(Snapshot snapshot)
A description of the snapshot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotResponse.Builder snapshot(Snapshot snapshot)
A description of the snapshot.
snapshot - A description of the snapshot.default CreateSnapshotResponse.Builder snapshot(Consumer<Snapshot.Builder> snapshot)
A description of the snapshot.
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.