Interface ScheduledAction.Builder

  • Method Details

    • id

      The unique identifier of the scheduled action.

      Parameters:
      id - The unique identifier of the scheduled action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of action that will be taken on the domain.

      Parameters:
      type - The type of action that will be taken on the domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of action that will be taken on the domain.

      Parameters:
      type - The type of action that will be taken on the domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      ScheduledAction.Builder severity(String severity)

      The severity of the action.

      Parameters:
      severity - The severity of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      The severity of the action.

      Parameters:
      severity - The severity of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheduledTime

      ScheduledAction.Builder scheduledTime(Long scheduledTime)

      The time when the change is scheduled to happen.

      Parameters:
      scheduledTime - The time when the change is scheduled to happen.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ScheduledAction.Builder description(String description)

      A description of the action to be taken.

      Parameters:
      description - A description of the action to be taken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledBy

      ScheduledAction.Builder scheduledBy(String scheduledBy)

      Whether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically ( SYSTEM).

      Parameters:
      scheduledBy - Whether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically (SYSTEM).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheduledBy

      ScheduledAction.Builder scheduledBy(ScheduledBy scheduledBy)

      Whether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically ( SYSTEM).

      Parameters:
      scheduledBy - Whether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically (SYSTEM).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the scheduled action.

      Parameters:
      status - The current status of the scheduled action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the scheduled action.

      Parameters:
      status - The current status of the scheduled action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mandatory

      ScheduledAction.Builder mandatory(Boolean mandatory)

      Whether the action is required or optional.

      Parameters:
      mandatory - Whether the action is required or optional.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cancellable

      ScheduledAction.Builder cancellable(Boolean cancellable)

      Whether or not the scheduled action is cancellable.

      Parameters:
      cancellable - Whether or not the scheduled action is cancellable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.