public static interface Component.Builder extends SdkPojo, CopyableBuilder<Component.Builder,Component>
| Modifier and Type | Method and Description |
|---|---|
Component.Builder |
applicationId(String applicationId)
|
Component.Builder |
componentId(String componentId)
|
Component.Builder |
componentType(ComponentType componentType)
|
Component.Builder |
componentType(String componentType)
|
Component.Builder |
databases(Collection<String> databases)
|
Component.Builder |
databases(String... databases)
|
Component.Builder |
hosts(Collection<Host> hosts)
|
Component.Builder |
hosts(Consumer<Host.Builder>... hosts)
This is a convenience method that creates an instance of the
Host.Builder avoiding the need to create one manually
via Host.builder(). |
Component.Builder |
hosts(Host... hosts)
|
Component.Builder |
lastUpdated(Instant lastUpdated)
|
Component.Builder |
primaryHost(String primaryHost)
|
Component.Builder |
status(ComponentStatus status)
|
Component.Builder |
status(String status)
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponent.Builder componentId(String componentId)
componentId - Component.Builder applicationId(String applicationId)
applicationId - Component.Builder componentType(String componentType)
componentType - ComponentType,
ComponentTypeComponent.Builder componentType(ComponentType componentType)
componentType - ComponentType,
ComponentTypeComponent.Builder status(String status)
status - ComponentStatus,
ComponentStatusComponent.Builder status(ComponentStatus status)
status - ComponentStatus,
ComponentStatusComponent.Builder databases(Collection<String> databases)
databases - Component.Builder databases(String... databases)
databases - Component.Builder hosts(Collection<Host> hosts)
hosts - Component.Builder hosts(Host... hosts)
hosts - Component.Builder hosts(Consumer<Host.Builder>... hosts)
Host.Builder avoiding the need to create one manually
via Host.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #hosts(List.
hosts - a consumer that will call methods on Host.Builder#hosts(java.util.Collection) Component.Builder primaryHost(String primaryHost)
primaryHost - Component.Builder lastUpdated(Instant lastUpdated)
lastUpdated - Copyright © 2022. All rights reserved.