Interface RecommendedAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecommendedAction.Builder,
,RecommendedAction> SdkBuilder<RecommendedAction.Builder,
,RecommendedAction> SdkPojo
- Enclosing class:
RecommendedAction
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the recommended action.applyModes
(String... applyModes) The methods to apply the recommended action.applyModes
(Collection<String> applyModes) The methods to apply the recommended action.contextAttributes
(Collection<ContextAttribute> contextAttributes) The supporting attributes to explain the recommended action.contextAttributes
(Consumer<ContextAttribute.Builder>... contextAttributes) The supporting attributes to explain the recommended action.contextAttributes
(ContextAttribute... contextAttributes) The supporting attributes to explain the recommended action.description
(String description) A detailed description of the action.default RecommendedAction.Builder
issueDetails
(Consumer<IssueDetails.Builder> issueDetails) The details of the issue.issueDetails
(IssueDetails issueDetails) The details of the issue.An API operation for the action.parameters
(Collection<RecommendedActionParameter> parameters) The parameters for the API operation.parameters
(Consumer<RecommendedActionParameter.Builder>... parameters) The parameters for the API operation.parameters
(RecommendedActionParameter... parameters) The parameters for the API operation.The status of the action.A short description to summarize the action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 theRecommendedActionParameter.Builder
avoiding the need to create one manually viaRecommendedActionParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<RecommendedActionParameter>)
.- Parameters:
parameters
- a consumer that will call methods onRecommendedActionParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
The details of the issue.
This is a convenience method that creates an instance of theIssueDetails.Builder
avoiding the need to create one manually viaIssueDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toissueDetails(IssueDetails)
.- Parameters:
issueDetails
- a consumer that will call methods onIssueDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theContextAttribute.Builder
avoiding the need to create one manually viaContextAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontextAttributes(List<ContextAttribute>)
.- Parameters:
contextAttributes
- a consumer that will call methods onContextAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-