Interface MonitoringSchedule.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringSchedule.Builder,MonitoringSchedule>
,SdkBuilder<MonitoringSchedule.Builder,MonitoringSchedule>
,SdkPojo
- Enclosing class:
- MonitoringSchedule
public static interface MonitoringSchedule.Builder extends SdkPojo, CopyableBuilder<MonitoringSchedule.Builder,MonitoringSchedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MonitoringSchedule.Builder
creationTime(Instant creationTime)
The time that the monitoring schedule was created.MonitoringSchedule.Builder
endpointName(String endpointName)
The endpoint that hosts the model being monitored.MonitoringSchedule.Builder
failureReason(String failureReason)
If the monitoring schedule failed, the reason it failed.MonitoringSchedule.Builder
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.MonitoringSchedule.Builder
lastMonitoringExecutionSummary(MonitoringExecutionSummary lastMonitoringExecutionSummary)
Sets the value of the LastMonitoringExecutionSummary property for this object.MonitoringSchedule.Builder
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.MonitoringSchedule.Builder
monitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig)
Sets the value of the MonitoringScheduleConfig property for this object.MonitoringSchedule.Builder
monitoringScheduleName(String monitoringScheduleName)
The name of the monitoring schedule.MonitoringSchedule.Builder
monitoringScheduleStatus(String monitoringScheduleStatus)
The status of the monitoring schedule.MonitoringSchedule.Builder
monitoringScheduleStatus(ScheduleStatus monitoringScheduleStatus)
The status of the monitoring schedule.MonitoringSchedule.Builder
monitoringType(String monitoringType)
The type of the monitoring job definition to schedule.MonitoringSchedule.Builder
monitoringType(MonitoringType monitoringType)
The type of the monitoring job definition to schedule.MonitoringSchedule.Builder
tags(Collection<Tag> tags)
A list of the tags associated with the monitoring schedlue.MonitoringSchedule.Builder
tags(Consumer<Tag.Builder>... tags)
A list of the tags associated with the monitoring schedlue.MonitoringSchedule.Builder
tags(Tag... tags)
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 Detail
-
monitoringScheduleArn
MonitoringSchedule.Builder monitoringScheduleArn(String 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
MonitoringSchedule.Builder monitoringScheduleName(String 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
MonitoringSchedule.Builder monitoringScheduleStatus(String 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:
ScheduleStatus
,ScheduleStatus
-
-
monitoringScheduleStatus
MonitoringSchedule.Builder monitoringScheduleStatus(ScheduleStatus 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:
ScheduleStatus
,ScheduleStatus
-
-
monitoringType
MonitoringSchedule.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
MonitoringSchedule.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
-
failureReason
MonitoringSchedule.Builder failureReason(String 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
MonitoringSchedule.Builder creationTime(Instant 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
MonitoringSchedule.Builder lastModifiedTime(Instant 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:
monitoringScheduleConfig(MonitoringScheduleConfig)
-
endpointName
MonitoringSchedule.Builder endpointName(String 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:
lastMonitoringExecutionSummary(MonitoringExecutionSummary)
-
tags
MonitoringSchedule.Builder tags(Collection<Tag> 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
MonitoringSchedule.Builder tags(Tag... 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
MonitoringSchedule.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-