Interface RecommendedAction.Builder

    • Method Detail

      • actionId

        RecommendedAction.Builder actionId​(String actionId)

        The unique identifier of the recommended action.

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

        RecommendedAction.Builder title​(String title)

        A short description to summarize the action. The description might contain markdown.

        Parameters:
        title - A short description to summarize the action. The description might contain markdown.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        RecommendedAction.Builder description​(String description)

        A detailed description of the action. The description might contain markdown.

        Parameters:
        description - A detailed description of the action. The description might contain markdown.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operation

        RecommendedAction.Builder operation​(String operation)

        An API operation for the action.

        Parameters:
        operation - An API operation for the action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        RecommendedAction.Builder parameters​(RecommendedActionParameter... parameters)

        The parameters for the API operation.

        Parameters:
        parameters - The parameters for the API operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applyModes

        RecommendedAction.Builder applyModes​(Collection<String> applyModes)

        The methods to apply the recommended action.

        Valid values:

        • manual - The action requires you to resolve the recommendation manually.

        • immediately - The action is applied immediately.

        • next-maintainance-window - The action is applied during the next scheduled maintainance.

        Parameters:
        applyModes - The methods to apply the recommended action.

        Valid values:

        • manual - The action requires you to resolve the recommendation manually.

        • immediately - The action is applied immediately.

        • next-maintainance-window - The action is applied during the next scheduled maintainance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applyModes

        RecommendedAction.Builder applyModes​(String... applyModes)

        The methods to apply the recommended action.

        Valid values:

        • manual - The action requires you to resolve the recommendation manually.

        • immediately - The action is applied immediately.

        • next-maintainance-window - The action is applied during the next scheduled maintainance.

        Parameters:
        applyModes - The methods to apply the recommended action.

        Valid values:

        • manual - The action requires you to resolve the recommendation manually.

        • immediately - The action is applied immediately.

        • next-maintainance-window - The action is applied during the next scheduled maintainance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        RecommendedAction.Builder status​(String status)

        The status of the action.

        • ready

        • applied

        • scheduled

        • resolved

        Parameters:
        status - The status of the action.

        • ready

        • applied

        • scheduled

        • resolved

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • issueDetails

        RecommendedAction.Builder issueDetails​(IssueDetails issueDetails)

        The details of the issue.

        Parameters:
        issueDetails - The details of the issue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextAttributes

        RecommendedAction.Builder contextAttributes​(Collection<ContextAttribute> contextAttributes)

        The supporting attributes to explain the recommended action.

        Parameters:
        contextAttributes - The supporting attributes to explain the recommended action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextAttributes

        RecommendedAction.Builder contextAttributes​(ContextAttribute... contextAttributes)

        The supporting attributes to explain the recommended action.

        Parameters:
        contextAttributes - The supporting attributes to explain the recommended action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.