public static interface DependentService.Builder extends SdkPojo, CopyableBuilder<DependentService.Builder,DependentService>
| Modifier and Type | Method and Description |
|---|---|
DependentService.Builder |
serviceName(ServiceName serviceName)
The name of the dependent service.
|
DependentService.Builder |
serviceName(String serviceName)
The name of the dependent service.
|
default DependentService.Builder |
serviceVersion(Consumer<ServiceVersion.Builder> serviceVersion)
The version of the dependent service.
|
DependentService.Builder |
serviceVersion(ServiceVersion serviceVersion)
The version of the dependent service.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDependentService.Builder serviceName(String serviceName)
The name of the dependent service.
serviceName - The name of the dependent service.ServiceName,
ServiceNameDependentService.Builder serviceName(ServiceName serviceName)
The name of the dependent service.
serviceName - The name of the dependent service.ServiceName,
ServiceNameDependentService.Builder serviceVersion(ServiceVersion serviceVersion)
The version of the dependent service.
serviceVersion - The version of the dependent service.default DependentService.Builder serviceVersion(Consumer<ServiceVersion.Builder> serviceVersion)
The version of the dependent service.
This is a convenience method that creates an instance of theServiceVersion.Builder avoiding the need
to create one manually via ServiceVersion.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to serviceVersion(ServiceVersion).
serviceVersion - a consumer that will call methods on ServiceVersion.BuilderserviceVersion(ServiceVersion)Copyright © 2023. All rights reserved.