public static interface GetInstanceSnapshotResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<GetInstanceSnapshotResponse.Builder,GetInstanceSnapshotResponse>
Modifier and Type | Method and Description |
---|---|
default GetInstanceSnapshotResponse.Builder |
instanceSnapshot(Consumer<InstanceSnapshot.Builder> instanceSnapshot)
An array of key-value pairs containing information about the results of your get instance snapshot request.
|
GetInstanceSnapshotResponse.Builder |
instanceSnapshot(InstanceSnapshot instanceSnapshot)
An array of key-value pairs containing information about the results of your get instance snapshot request.
|
build
copy
apply, build
GetInstanceSnapshotResponse.Builder instanceSnapshot(InstanceSnapshot instanceSnapshot)
An array of key-value pairs containing information about the results of your get instance snapshot request.
instanceSnapshot
- An array of key-value pairs containing information about the results of your get instance snapshot
request.default GetInstanceSnapshotResponse.Builder instanceSnapshot(Consumer<InstanceSnapshot.Builder> instanceSnapshot)
An array of key-value pairs containing information about the results of your get instance snapshot request.
This is a convenience that creates an instance of theInstanceSnapshot.Builder
avoiding the need to
create one manually via InstanceSnapshot.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to instanceSnapshot(InstanceSnapshot)
.instanceSnapshot
- a consumer that will call methods on InstanceSnapshot.Builder
instanceSnapshot(InstanceSnapshot)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.