Interface MonitoringBaselineConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringBaselineConfig.Builder,
,MonitoringBaselineConfig> SdkBuilder<MonitoringBaselineConfig.Builder,
,MonitoringBaselineConfig> SdkPojo
- Enclosing class:
MonitoringBaselineConfig
-
Method Summary
Modifier and TypeMethodDescriptionbaseliningJobName
(String baseliningJobName) The name of the job that performs baselining for the monitoring job.default MonitoringBaselineConfig.Builder
constraintsResource
(Consumer<MonitoringConstraintsResource.Builder> constraintsResource) The baseline constraint file in Amazon S3 that the current monitoring job should validated against.constraintsResource
(MonitoringConstraintsResource constraintsResource) The baseline constraint file in Amazon S3 that the current monitoring job should validated against.default MonitoringBaselineConfig.Builder
statisticsResource
(Consumer<MonitoringStatisticsResource.Builder> statisticsResource) The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.statisticsResource
(MonitoringStatisticsResource statisticsResource) The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.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 Details
-
baseliningJobName
The name of the job that performs baselining for the monitoring job.
- Parameters:
baseliningJobName
- The name of the job that performs baselining for the monitoring job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constraintsResource
MonitoringBaselineConfig.Builder constraintsResource(MonitoringConstraintsResource constraintsResource) The baseline constraint file in Amazon S3 that the current monitoring job should validated against.
- Parameters:
constraintsResource
- The baseline constraint file in Amazon S3 that the current monitoring job should validated against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constraintsResource
default MonitoringBaselineConfig.Builder constraintsResource(Consumer<MonitoringConstraintsResource.Builder> constraintsResource) The baseline constraint file in Amazon S3 that the current monitoring job should validated against.
This is a convenience method that creates an instance of theMonitoringConstraintsResource.Builder
avoiding the need to create one manually viaMonitoringConstraintsResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconstraintsResource(MonitoringConstraintsResource)
.- Parameters:
constraintsResource
- a consumer that will call methods onMonitoringConstraintsResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statisticsResource
MonitoringBaselineConfig.Builder statisticsResource(MonitoringStatisticsResource statisticsResource) The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
- Parameters:
statisticsResource
- The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticsResource
default MonitoringBaselineConfig.Builder statisticsResource(Consumer<MonitoringStatisticsResource.Builder> statisticsResource) The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
This is a convenience method that creates an instance of theMonitoringStatisticsResource.Builder
avoiding the need to create one manually viaMonitoringStatisticsResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatisticsResource(MonitoringStatisticsResource)
.- Parameters:
statisticsResource
- a consumer that will call methods onMonitoringStatisticsResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-