Interface Prometheus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Prometheus.Builder,Prometheus>,SdkBuilder<Prometheus.Builder,Prometheus>,SdkPojo
- Enclosing class:
- Prometheus
public static interface Prometheus.Builder extends SdkPojo, CopyableBuilder<Prometheus.Builder,Prometheus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Prometheus.BuilderjmxExporter(Consumer<JmxExporter.Builder> jmxExporter)Indicates whether you want to turn on or turn off the JMX Exporter.Prometheus.BuilderjmxExporter(JmxExporter jmxExporter)Indicates whether you want to turn on or turn off the JMX Exporter.default Prometheus.BuildernodeExporter(Consumer<NodeExporter.Builder> nodeExporter)Indicates whether you want to turn on or turn off the Node Exporter.Prometheus.BuildernodeExporter(NodeExporter nodeExporter)Indicates whether you want to turn on or turn off the Node Exporter.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jmxExporter
Prometheus.Builder jmxExporter(JmxExporter jmxExporter)
Indicates whether you want to turn on or turn off the JMX Exporter.
- Parameters:
jmxExporter-Indicates whether you want to turn on or turn off the JMX Exporter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jmxExporter
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.Builderavoiding the need to create one manually viaJmxExporter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojmxExporter(JmxExporter).- Parameters:
jmxExporter- a consumer that will call methods onJmxExporter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jmxExporter(JmxExporter)
-
nodeExporter
Prometheus.Builder nodeExporter(NodeExporter nodeExporter)
Indicates whether you want to turn on or turn off the Node Exporter.
- Parameters:
nodeExporter-Indicates whether you want to turn on or turn off the Node Exporter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeExporter
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.Builderavoiding the need to create one manually viaNodeExporter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodeExporter(NodeExporter).- Parameters:
nodeExporter- a consumer that will call methods onNodeExporter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
nodeExporter(NodeExporter)
-
-