Interface Prometheus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Prometheus.Builder,,Prometheus> SdkBuilder<Prometheus.Builder,,Prometheus> SdkPojo
- Enclosing class:
Prometheus
@Mutable
@NotThreadSafe
public static interface Prometheus.Builder
extends SdkPojo, CopyableBuilder<Prometheus.Builder,Prometheus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Prometheus.BuilderjmxExporter(Consumer<JmxExporter.Builder> jmxExporter) Indicates whether you want to turn on or turn off the JMX Exporter.jmxExporter(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.nodeExporter(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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
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:
-