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