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 Details

    • 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:
    • 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:
    • 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

      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:
    • 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 the MonitoringScheduleConfig.Builder avoiding the need to create one manually via MonitoringScheduleConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to monitoringScheduleConfig(MonitoringScheduleConfig).

      Parameters:
      monitoringScheduleConfig - a consumer that will call methods on MonitoringScheduleConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the MonitoringExecutionSummary.Builder avoiding the need to create one manually via MonitoringExecutionSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lastMonitoringExecutionSummary(MonitoringExecutionSummary).

      Parameters:
      lastMonitoringExecutionSummary - a consumer that will call methods on MonitoringExecutionSummary.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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: