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.BuildermonitoringJobDefinition(Consumer<MonitoringJobDefinition.Builder> monitoringJobDefinition)Defines the monitoring job.MonitoringScheduleConfig.BuildermonitoringJobDefinition(MonitoringJobDefinition monitoringJobDefinition)Defines the monitoring job.MonitoringScheduleConfig.BuildermonitoringJobDefinitionName(String monitoringJobDefinitionName)The name of the monitoring job definition to schedule.MonitoringScheduleConfig.BuildermonitoringType(String monitoringType)The type of the monitoring job definition to schedule.MonitoringScheduleConfig.BuildermonitoringType(MonitoringType monitoringType)The type of the monitoring job definition to schedule.default MonitoringScheduleConfig.BuilderscheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig)Configures the monitoring schedule.MonitoringScheduleConfig.BuilderscheduleConfig(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.Builderavoiding the need to create one manually viaScheduleConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMonitoringJobDefinition.builder().When the
Consumercompletes,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
-
-