Interface PrometheusInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrometheusInfo.Builder,
,PrometheusInfo> SdkBuilder<PrometheusInfo.Builder,
,PrometheusInfo> SdkPojo
- Enclosing class:
PrometheusInfo
public static interface PrometheusInfo.Builder
extends SdkPojo, CopyableBuilder<PrometheusInfo.Builder,PrometheusInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrometheusInfo.Builder
jmxExporter
(Consumer<JmxExporterInfo.Builder> jmxExporter) Indicates whether you want to turn on or turn off the JMX Exporter.jmxExporter
(JmxExporterInfo jmxExporter) Indicates whether you want to turn on or turn off the JMX Exporter.default PrometheusInfo.Builder
nodeExporter
(Consumer<NodeExporterInfo.Builder> nodeExporter) Indicates whether you want to turn on or turn off the Node Exporter.nodeExporter
(NodeExporterInfo 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, 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 theJmxExporterInfo.Builder
avoiding the need to create one manually viaJmxExporterInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojmxExporter(JmxExporterInfo)
.- Parameters:
jmxExporter
- a consumer that will call methods onJmxExporterInfo.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 theNodeExporterInfo.Builder
avoiding the need to create one manually viaNodeExporterInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeExporter(NodeExporterInfo)
.- Parameters:
nodeExporter
- a consumer that will call methods onNodeExporterInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-