Interface MonitoringScheduleConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringScheduleConfig.Builder,
,MonitoringScheduleConfig> SdkBuilder<MonitoringScheduleConfig.Builder,
,MonitoringScheduleConfig> SdkPojo
- Enclosing class:
MonitoringScheduleConfig
@Mutable
@NotThreadSafe
public static interface MonitoringScheduleConfig.Builder
extends SdkPojo, CopyableBuilder<MonitoringScheduleConfig.Builder,MonitoringScheduleConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MonitoringScheduleConfig.Builder
monitoringJobDefinition
(Consumer<MonitoringJobDefinition.Builder> monitoringJobDefinition) Defines the monitoring job.monitoringJobDefinition
(MonitoringJobDefinition monitoringJobDefinition) Defines the monitoring job.monitoringJobDefinitionName
(String monitoringJobDefinitionName) The name of the monitoring job definition to schedule.monitoringType
(String monitoringType) The type of the monitoring job definition to schedule.monitoringType
(MonitoringType monitoringType) The type of the monitoring job definition to schedule.default MonitoringScheduleConfig.Builder
scheduleConfig
(Consumer<ScheduleConfig.Builder> scheduleConfig) Configures the monitoring schedule.scheduleConfig
(ScheduleConfig scheduleConfig) Configures the monitoring schedule.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
-
scheduleConfig
Configures the monitoring schedule.
- Parameters:
scheduleConfig
- Configures the monitoring schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfig
default MonitoringScheduleConfig.Builder scheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig) Configures the monitoring schedule.
This is a convenience method that creates an instance of theScheduleConfig.Builder
avoiding the need to create one manually viaScheduleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduleConfig(ScheduleConfig)
.- Parameters:
scheduleConfig
- a consumer that will call methods onScheduleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoringJobDefinition
MonitoringScheduleConfig.Builder monitoringJobDefinition(MonitoringJobDefinition monitoringJobDefinition) Defines the monitoring job.
- Parameters:
monitoringJobDefinition
- Defines the monitoring job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringJobDefinition
default MonitoringScheduleConfig.Builder monitoringJobDefinition(Consumer<MonitoringJobDefinition.Builder> monitoringJobDefinition) Defines the monitoring job.
This is a convenience method that creates an instance of theMonitoringJobDefinition.Builder
avoiding the need to create one manually viaMonitoringJobDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringJobDefinition(MonitoringJobDefinition)
.- Parameters:
monitoringJobDefinition
- a consumer that will call methods onMonitoringJobDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoringJobDefinitionName
The name of the monitoring job definition to schedule.
- Parameters:
monitoringJobDefinitionName
- The name of the monitoring job definition to schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringType
The type of the monitoring job definition to schedule.
- Parameters:
monitoringType
- The type of the monitoring job definition to schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoringType
The type of the monitoring job definition to schedule.
- Parameters:
monitoringType
- The type of the monitoring job definition to schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-