public static interface GetDiskSnapshotResponse.Builder extends LightsailResponse.Builder, 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.