public static interface CreateServiceResponse.Builder extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<CreateServiceResponse.Builder,CreateServiceResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateServiceResponse.Builder |
service(Consumer<Service.Builder> service)
A complex type that contains information about the new service.
|
CreateServiceResponse.Builder |
service(Service service)
A complex type that contains information about the new service.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateServiceResponse.Builder service(Service service)
A complex type that contains information about the new service.
service - A complex type that contains information about the new service.default CreateServiceResponse.Builder service(Consumer<Service.Builder> service)
A complex type that contains information about the new 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.