public static interface Prometheus.Builder extends SdkPojo, CopyableBuilder<Prometheus.Builder,Prometheus>
| Modifier and Type | Method and Description |
|---|---|
default Prometheus.Builder |
jmxExporter(Consumer<JmxExporter.Builder> jmxExporter)
Indicates whether you want to turn on or turn off the JMX Exporter.
|
Prometheus.Builder |
jmxExporter(JmxExporter jmxExporter)
Indicates whether you want to turn on or turn off the JMX Exporter.
|
default Prometheus.Builder |
nodeExporter(Consumer<NodeExporter.Builder> nodeExporter)
Indicates whether you want to turn on or turn off the Node Exporter.
|
Prometheus.Builder |
nodeExporter(NodeExporter nodeExporter)
Indicates whether you want to turn on or turn off the Node Exporter.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPrometheus.Builder jmxExporter(JmxExporter jmxExporter)
Indicates whether you want to turn on or turn off the JMX Exporter.
jmxExporter - Indicates whether you want to turn on or turn off the JMX Exporter.
default Prometheus.Builder jmxExporter(Consumer<JmxExporter.Builder> jmxExporter)
Indicates whether you want to turn on or turn off the JMX Exporter.
This is a convenience method that creates an instance of theJmxExporter.Builder avoiding the need to
create one manually via JmxExporter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to jmxExporter(JmxExporter).
jmxExporter - a consumer that will call methods on JmxExporter.BuilderjmxExporter(JmxExporter)Prometheus.Builder nodeExporter(NodeExporter nodeExporter)
Indicates whether you want to turn on or turn off the Node Exporter.
nodeExporter - Indicates whether you want to turn on or turn off the Node Exporter.
default Prometheus.Builder nodeExporter(Consumer<NodeExporter.Builder> nodeExporter)
Indicates whether you want to turn on or turn off the Node Exporter.
This is a convenience method that creates an instance of theNodeExporter.Builder avoiding the need
to create one manually via NodeExporter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to nodeExporter(NodeExporter).
nodeExporter - a consumer that will call methods on NodeExporter.BuildernodeExporter(NodeExporter)Copyright © 2023. All rights reserved.