public static interface GetDiskSnapshotResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetDiskSnapshotResponse.Builder,GetDiskSnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetDiskSnapshotResponse.Builder |
diskSnapshot(Consumer<DiskSnapshot.Builder> diskSnapshot)
An object containing information about the disk snapshot.
|
GetDiskSnapshotResponse.Builder |
diskSnapshot(DiskSnapshot diskSnapshot)
An object containing information about the disk snapshot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetDiskSnapshotResponse.Builder diskSnapshot(DiskSnapshot diskSnapshot)
An object containing information about the disk snapshot.
diskSnapshot - An object containing information about the disk snapshot.default GetDiskSnapshotResponse.Builder diskSnapshot(Consumer<DiskSnapshot.Builder> diskSnapshot)
An object containing information about the disk snapshot.
This is a convenience method that creates an instance of theDiskSnapshot.Builder avoiding the need
to create one manually via DiskSnapshot.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to diskSnapshot(DiskSnapshot).
diskSnapshot - a consumer that will call methods on DiskSnapshot.BuilderdiskSnapshot(DiskSnapshot)Copyright © 2023. All rights reserved.