public static interface GetDiskSnapshotsResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<GetDiskSnapshotsResponse.Builder,GetDiskSnapshotsResponse>
Modifier and Type | Method and Description |
---|---|
GetDiskSnapshotsResponse.Builder |
diskSnapshots(Collection<DiskSnapshot> diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
|
GetDiskSnapshotsResponse.Builder |
diskSnapshots(Consumer<DiskSnapshot.Builder>... diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
|
GetDiskSnapshotsResponse.Builder |
diskSnapshots(DiskSnapshot... diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
|
GetDiskSnapshotsResponse.Builder |
nextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDiskSnapshots request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetDiskSnapshotsResponse.Builder diskSnapshots(Collection<DiskSnapshot> diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
diskSnapshots
- An array of objects containing information about all block storage disk snapshots.GetDiskSnapshotsResponse.Builder diskSnapshots(DiskSnapshot... diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
diskSnapshots
- An array of objects containing information about all block storage disk snapshots.GetDiskSnapshotsResponse.Builder diskSnapshots(Consumer<DiskSnapshot.Builder>... diskSnapshots)
An array of objects containing information about all block storage disk snapshots.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #diskSnapshots(List)
.diskSnapshots
- a consumer that will call methods on List.Builder
#diskSnapshots(List)
GetDiskSnapshotsResponse.Builder nextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDiskSnapshots request.
nextPageToken
- A token used for advancing to the next page of results from your GetDiskSnapshots request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.