Interface ScheduledAction.Builder

    • Method Detail

      • id

        ScheduledAction.Builder id​(String 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

        ScheduledAction.Builder type​(String 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:
        ActionType, ActionType
      • type

        ScheduledAction.Builder type​(ActionType 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:
        ActionType, ActionType
      • 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, ScheduledBy
      • 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:
        ScheduledBy, ScheduledBy
      • status

        ScheduledAction.Builder status​(String 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:
        ActionStatus, ActionStatus
      • status

        ScheduledAction.Builder status​(ActionStatus 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:
        ActionStatus, ActionStatus
      • 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.