Interface MonitoringScheduleConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringScheduleConfig.Builder,MonitoringScheduleConfig>
,SdkBuilder<MonitoringScheduleConfig.Builder,MonitoringScheduleConfig>
,SdkPojo
- Enclosing class:
- MonitoringScheduleConfig
public static interface MonitoringScheduleConfig.Builder extends SdkPojo, CopyableBuilder<MonitoringScheduleConfig.Builder,MonitoringScheduleConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MonitoringScheduleConfig.Builder
monitoringJobDefinition(Consumer<MonitoringJobDefinition.Builder> monitoringJobDefinition)
Defines the monitoring job.MonitoringScheduleConfig.Builder
monitoringJobDefinition(MonitoringJobDefinition monitoringJobDefinition)
Defines the monitoring job.MonitoringScheduleConfig.Builder
monitoringJobDefinitionName(String monitoringJobDefinitionName)
The name of the monitoring job definition to schedule.MonitoringScheduleConfig.Builder
monitoringType(String monitoringType)
The type of the monitoring job definition to schedule.MonitoringScheduleConfig.Builder
monitoringType(MonitoringType monitoringType)
The type of the monitoring job definition to schedule.default MonitoringScheduleConfig.Builder
scheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig)
Configures the monitoring schedule.MonitoringScheduleConfig.Builder
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, sdkFields
-
-
-
-
Method Detail
-
scheduleConfig
MonitoringScheduleConfig.Builder scheduleConfig(ScheduleConfig 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:
scheduleConfig(ScheduleConfig)
-
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:
monitoringJobDefinition(MonitoringJobDefinition)
-
monitoringJobDefinitionName
MonitoringScheduleConfig.Builder monitoringJobDefinitionName(String 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
MonitoringScheduleConfig.Builder monitoringType(String 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
,MonitoringType
-
monitoringType
MonitoringScheduleConfig.Builder monitoringType(MonitoringType 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
,MonitoringType
-
-