Interface MonitoringSchedule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringSchedule.Builder,
,MonitoringSchedule> SdkBuilder<MonitoringSchedule.Builder,
,MonitoringSchedule> SdkPojo
- Enclosing class:
MonitoringSchedule
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time that the monitoring schedule was created.endpointName
(String endpointName) The endpoint that hosts the model being monitored.failureReason
(String failureReason) If the monitoring schedule failed, the reason it failed.lastModifiedTime
(Instant lastModifiedTime) The last time the monitoring schedule was changed.default MonitoringSchedule.Builder
lastMonitoringExecutionSummary
(Consumer<MonitoringExecutionSummary.Builder> lastMonitoringExecutionSummary) Sets the value of the LastMonitoringExecutionSummary property for this object.lastMonitoringExecutionSummary
(MonitoringExecutionSummary lastMonitoringExecutionSummary) Sets the value of the LastMonitoringExecutionSummary property for this object.monitoringScheduleArn
(String monitoringScheduleArn) The Amazon Resource Name (ARN) of the monitoring schedule.default MonitoringSchedule.Builder
monitoringScheduleConfig
(Consumer<MonitoringScheduleConfig.Builder> monitoringScheduleConfig) Sets the value of the MonitoringScheduleConfig property for this object.monitoringScheduleConfig
(MonitoringScheduleConfig monitoringScheduleConfig) Sets the value of the MonitoringScheduleConfig property for this object.monitoringScheduleName
(String monitoringScheduleName) The name of the monitoring schedule.monitoringScheduleStatus
(String monitoringScheduleStatus) The status of the monitoring schedule.monitoringScheduleStatus
(ScheduleStatus monitoringScheduleStatus) The status of the monitoring 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.tags
(Collection<Tag> tags) A list of the tags associated with the monitoring schedlue.tags
(Consumer<Tag.Builder>... tags) A list of the tags associated with the monitoring schedlue.A list of the tags associated with the monitoring schedlue.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 Details
-
monitoringScheduleArn
The Amazon Resource Name (ARN) of the monitoring schedule.
- Parameters:
monitoringScheduleArn
- The Amazon Resource Name (ARN) of the monitoring schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringScheduleName
The name of the monitoring schedule.
- Parameters:
monitoringScheduleName
- The name of the monitoring schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringScheduleStatus
The status of the monitoring schedule. This can be one of the following values.
-
PENDING
- The schedule is pending being created. -
FAILED
- The schedule failed. -
SCHEDULED
- The schedule was successfully created. -
STOPPED
- The schedule was stopped.
- Parameters:
monitoringScheduleStatus
- The status of the monitoring schedule. This can be one of the following values.-
PENDING
- The schedule is pending being created. -
FAILED
- The schedule failed. -
SCHEDULED
- The schedule was successfully created. -
STOPPED
- The schedule was stopped.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
monitoringScheduleStatus
The status of the monitoring schedule. This can be one of the following values.
-
PENDING
- The schedule is pending being created. -
FAILED
- The schedule failed. -
SCHEDULED
- The schedule was successfully created. -
STOPPED
- The schedule was stopped.
- Parameters:
monitoringScheduleStatus
- The status of the monitoring schedule. This can be one of the following values.-
PENDING
- The schedule is pending being created. -
FAILED
- The schedule failed. -
SCHEDULED
- The schedule was successfully created. -
STOPPED
- The schedule was stopped.
-
- 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:
-
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:
-
failureReason
If the monitoring schedule failed, the reason it failed.
- Parameters:
failureReason
- If the monitoring schedule failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time that the monitoring schedule was created.
- Parameters:
creationTime
- The time that the monitoring schedule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The last time the monitoring schedule was changed.
- Parameters:
lastModifiedTime
- The last time the monitoring schedule was changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringScheduleConfig
MonitoringSchedule.Builder monitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig) Sets the value of the MonitoringScheduleConfig property for this object.- Parameters:
monitoringScheduleConfig
- The new value for the MonitoringScheduleConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringScheduleConfig
default MonitoringSchedule.Builder monitoringScheduleConfig(Consumer<MonitoringScheduleConfig.Builder> monitoringScheduleConfig) Sets the value of the MonitoringScheduleConfig property for this object. This is a convenience method that creates an instance of theMonitoringScheduleConfig.Builder
avoiding the need to create one manually viaMonitoringScheduleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringScheduleConfig(MonitoringScheduleConfig)
.- Parameters:
monitoringScheduleConfig
- a consumer that will call methods onMonitoringScheduleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointName
The endpoint that hosts the model being monitored.
- Parameters:
endpointName
- The endpoint that hosts the model being monitored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastMonitoringExecutionSummary
MonitoringSchedule.Builder lastMonitoringExecutionSummary(MonitoringExecutionSummary lastMonitoringExecutionSummary) Sets the value of the LastMonitoringExecutionSummary property for this object.- Parameters:
lastMonitoringExecutionSummary
- The new value for the LastMonitoringExecutionSummary property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastMonitoringExecutionSummary
default MonitoringSchedule.Builder lastMonitoringExecutionSummary(Consumer<MonitoringExecutionSummary.Builder> lastMonitoringExecutionSummary) Sets the value of the LastMonitoringExecutionSummary property for this object. This is a convenience method that creates an instance of theMonitoringExecutionSummary.Builder
avoiding the need to create one manually viaMonitoringExecutionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastMonitoringExecutionSummary(MonitoringExecutionSummary)
.- Parameters:
lastMonitoringExecutionSummary
- a consumer that will call methods onMonitoringExecutionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of the tags associated with the monitoring schedlue. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags
- A list of the tags associated with the monitoring schedlue. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of the tags associated with the monitoring schedlue. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags
- A list of the tags associated with the monitoring schedlue. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of the tags associated with the monitoring schedlue. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-