public static interface GetInstanceResponse.Builder extends ServiceDiscoveryResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 © 2023. All rights reserved.