Interface PrometheusInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrometheusInfo.Builder,,PrometheusInfo> SdkBuilder<PrometheusInfo.Builder,,PrometheusInfo> SdkPojo
- Enclosing class:
PrometheusInfo
@Mutable
@NotThreadSafe
public static interface PrometheusInfo.Builder
extends SdkPojo, CopyableBuilder<PrometheusInfo.Builder,PrometheusInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrometheusInfo.BuilderjmxExporter(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.BuildernodeExporter(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
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 theJmxExporterInfo.Builderavoiding the need to create one manually viaJmxExporterInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNodeExporterInfo.builder().When the
Consumercompletes,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:
-