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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PrometheusInfo.BuilderjmxExporter(Consumer<JmxExporterInfo.Builder> jmxExporter)Indicates whether you want to turn on or turn off the JMX Exporter.PrometheusInfo.BuilderjmxExporter(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.PrometheusInfo.BuildernodeExporter(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jmxExporter
PrometheusInfo.Builder jmxExporter(JmxExporterInfo 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 PrometheusInfo.Builder jmxExporter(Consumer<JmxExporterInfo.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 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:
jmxExporter(JmxExporterInfo)
-
nodeExporter
PrometheusInfo.Builder nodeExporter(NodeExporterInfo 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 PrometheusInfo.Builder nodeExporter(Consumer<NodeExporterInfo.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 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:
nodeExporter(NodeExporterInfo)
-
-