public static interface CreateServiceResponse.Builder extends ServiceDiscoveryResponse.Builder, 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.