public static interface GetInstanceResponse.Builder extends ServiceDiscoveryResponse.Builder, CopyableBuilder<GetInstanceResponse.Builder,GetInstanceResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetInstanceResponse.Builder |
instance(Consumer<Instance.Builder> instance)
A complex type that contains information about a specified instance.
|
GetInstanceResponse.Builder |
instance(Instance instance)
A complex type that contains information about a specified instance.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetInstanceResponse.Builder instance(Instance instance)
A complex type that contains information about a specified instance.
instance - A complex type that contains information about a specified instance.default GetInstanceResponse.Builder instance(Consumer<Instance.Builder> instance)
A complex type that contains information about a 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.Builderinstance(Instance)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.