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.Builderprometheus(Consumer<PrometheusInfo.Builder> prometheus) Prometheus settings.prometheus(PrometheusInfo prometheus) Prometheus settings.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
-
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.Builderavoiding the need to create one manually viaPrometheusInfo.builder().When the
Consumercompletes,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:
-