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