public static interface GetInstanceSnapshotsResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<GetInstanceSnapshotsResponse.Builder,GetInstanceSnapshotsResponse>
Modifier and Type | Method and Description |
---|---|
GetInstanceSnapshotsResponse.Builder |
instanceSnapshots(Collection<InstanceSnapshot> instanceSnapshots)
An array of key-value pairs containing information about the results of your get instance snapshots request.
|
GetInstanceSnapshotsResponse.Builder |
instanceSnapshots(Consumer<InstanceSnapshot.Builder>... instanceSnapshots)
An array of key-value pairs containing information about the results of your get instance snapshots request.
|
GetInstanceSnapshotsResponse.Builder |
instanceSnapshots(InstanceSnapshot... instanceSnapshots)
An array of key-value pairs containing information about the results of your get instance snapshots request.
|
GetInstanceSnapshotsResponse.Builder |
nextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get instance snapshots request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetInstanceSnapshotsResponse.Builder instanceSnapshots(Collection<InstanceSnapshot> instanceSnapshots)
An array of key-value pairs containing information about the results of your get instance snapshots request.
instanceSnapshots
- An array of key-value pairs containing information about the results of your get instance snapshots
request.GetInstanceSnapshotsResponse.Builder instanceSnapshots(InstanceSnapshot... instanceSnapshots)
An array of key-value pairs containing information about the results of your get instance snapshots request.
instanceSnapshots
- An array of key-value pairs containing information about the results of your get instance snapshots
request.GetInstanceSnapshotsResponse.Builder instanceSnapshots(Consumer<InstanceSnapshot.Builder>... instanceSnapshots)
An array of key-value pairs containing information about the results of your get instance snapshots request.
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 #instanceSnapshots(List)
.instanceSnapshots
- a consumer that will call methods on List.Builder
#instanceSnapshots(List)
GetInstanceSnapshotsResponse.Builder nextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get instance snapshots request.
nextPageToken
- A token used for advancing to the next page of results from your get instance snapshots request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.