Interface OpenMonitoringInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpenMonitoringInfo.Builder,
,OpenMonitoringInfo> SdkBuilder<OpenMonitoringInfo.Builder,
,OpenMonitoringInfo> SdkPojo
- Enclosing class:
OpenMonitoringInfo
public static interface OpenMonitoringInfo.Builder
extends SdkPojo, CopyableBuilder<OpenMonitoringInfo.Builder,OpenMonitoringInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OpenMonitoringInfo.Builder
prometheus
(Consumer<PrometheusInfo.Builder> prometheus) Prometheus settings.prometheus
(PrometheusInfo prometheus) Prometheus settings.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
-
prometheus
Prometheus settings.
- Parameters:
prometheus
-Prometheus settings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prometheus
Prometheus settings.
This is a convenience method that creates an instance of thePrometheusInfo.Builder
avoiding the need to create one manually viaPrometheusInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprometheus(PrometheusInfo)
.- Parameters:
prometheus
- a consumer that will call methods onPrometheusInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-