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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OpenMonitoringInfo.Builderprometheus(Consumer<PrometheusInfo.Builder> prometheus)Prometheus settings.OpenMonitoringInfo.Builderprometheus(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
prometheus
OpenMonitoringInfo.Builder prometheus(PrometheusInfo prometheus)
Prometheus settings.
- Parameters:
prometheus-Prometheus settings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prometheus
default OpenMonitoringInfo.Builder prometheus(Consumer<PrometheusInfo.Builder> 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:
prometheus(PrometheusInfo)
-
-