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.BuildercreationTime(Instant creationTime)The time that the monitoring schedule was created.MonitoringSchedule.BuilderendpointName(String endpointName)The endpoint that hosts the model being monitored.MonitoringSchedule.BuilderfailureReason(String failureReason)If the monitoring schedule failed, the reason it failed.MonitoringSchedule.BuilderlastModifiedTime(Instant lastModifiedTime)The last time the monitoring schedule was changed.default MonitoringSchedule.BuilderlastMonitoringExecutionSummary(Consumer<MonitoringExecutionSummary.Builder> lastMonitoringExecutionSummary)Sets the value of the LastMonitoringExecutionSummary property for this object.MonitoringSchedule.BuilderlastMonitoringExecutionSummary(MonitoringExecutionSummary lastMonitoringExecutionSummary)Sets the value of the LastMonitoringExecutionSummary property for this object.MonitoringSchedule.BuildermonitoringScheduleArn(String monitoringScheduleArn)The Amazon Resource Name (ARN) of the monitoring schedule.default MonitoringSchedule.BuildermonitoringScheduleConfig(Consumer<MonitoringScheduleConfig.Builder> monitoringScheduleConfig)Sets the value of the MonitoringScheduleConfig property for this object.MonitoringSchedule.BuildermonitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig)Sets the value of the MonitoringScheduleConfig property for this object.MonitoringSchedule.BuildermonitoringScheduleName(String monitoringScheduleName)The name of the monitoring schedule.MonitoringSchedule.BuildermonitoringScheduleStatus(String monitoringScheduleStatus)The status of the monitoring schedule.MonitoringSchedule.BuildermonitoringScheduleStatus(ScheduleStatus monitoringScheduleStatus)The status of the monitoring schedule.MonitoringSchedule.BuildermonitoringType(String monitoringType)The type of the monitoring job definition to schedule.MonitoringSchedule.BuildermonitoringType(MonitoringType monitoringType)The type of the monitoring job definition to schedule.MonitoringSchedule.Buildertags(Collection<Tag> tags)A list of the tags associated with the monitoring schedlue.MonitoringSchedule.Buildertags(Consumer<Tag.Builder>... tags)A list of the tags associated with the monitoring schedlue.MonitoringSchedule.Buildertags(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaMonitoringScheduleConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMonitoringExecutionSummary.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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)
-
-