public static interface OpenMonitoring.Builder extends SdkPojo, CopyableBuilder<OpenMonitoring.Builder,OpenMonitoring>
| Modifier and Type | Method and Description |
|---|---|
default OpenMonitoring.Builder |
prometheus(Consumer<Prometheus.Builder> prometheus)
Prometheus settings.
|
OpenMonitoring.Builder |
prometheus(Prometheus prometheus)
Prometheus settings.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOpenMonitoring.Builder prometheus(Prometheus prometheus)
Prometheus settings.
prometheus - Prometheus settings.
default OpenMonitoring.Builder prometheus(Consumer<Prometheus.Builder> prometheus)
Prometheus settings.
This is a convenience method that creates an instance of thePrometheus.Builder avoiding the need to
create one manually via Prometheus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to prometheus(Prometheus).
prometheus - a consumer that will call methods on Prometheus.Builderprometheus(Prometheus)Copyright © 2023. All rights reserved.