public static interface GetServiceResponse.Builder extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetServiceResponse.Builder |
service(Consumer<Service.Builder> service)
A complex type that contains information about the service.
|
GetServiceResponse.Builder |
service(Service service)
A complex type that contains information about the service.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetServiceResponse.Builder service(Service service)
A complex type that contains information about the service.
service - A complex type that contains information about the service.default GetServiceResponse.Builder service(Consumer<Service.Builder> service)
A complex type that contains information about the service.
This is a convenience method that creates an instance of theService.Builder avoiding the need to
create one manually via Service.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to service(Service).
service - a consumer that will call methods on Service.Builderservice(Service)Copyright © 2023. All rights reserved.