Interface RecommendedAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RecommendedAction.Builder,RecommendedAction>, SdkBuilder<RecommendedAction.Builder,RecommendedAction>, SdkPojo
Enclosing class:
RecommendedAction

public static interface RecommendedAction.Builder extends SdkPojo, CopyableBuilder<RecommendedAction.Builder,RecommendedAction>
  • Method Details

    • 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

      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

      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.
    • 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.
    • parameters

      The parameters for the API operation.

      This is a convenience method that creates an instance of the RecommendedActionParameter.Builder avoiding the need to create one manually via RecommendedActionParameter.builder().

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

      Parameters:
      parameters - a consumer that will call methods on RecommendedActionParameter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • issueDetails

      default RecommendedAction.Builder issueDetails(Consumer<IssueDetails.Builder> issueDetails)

      The details of the issue.

      This is a convenience method that creates an instance of the IssueDetails.Builder avoiding the need to create one manually via IssueDetails.builder().

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

      Parameters:
      issueDetails - a consumer that will call methods on IssueDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • contextAttributes

      RecommendedAction.Builder contextAttributes(Consumer<ContextAttribute.Builder>... contextAttributes)

      The supporting attributes to explain the recommended action.

      This is a convenience method that creates an instance of the ContextAttribute.Builder avoiding the need to create one manually via ContextAttribute.builder().

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

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