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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RecommendedAction.BuilderactionId(String actionId)The unique identifier of the recommended action.RecommendedAction.BuilderapplyModes(String... applyModes)The methods to apply the recommended action.RecommendedAction.BuilderapplyModes(Collection<String> applyModes)The methods to apply the recommended action.RecommendedAction.BuildercontextAttributes(Collection<ContextAttribute> contextAttributes)The supporting attributes to explain the recommended action.RecommendedAction.BuildercontextAttributes(Consumer<ContextAttribute.Builder>... contextAttributes)The supporting attributes to explain the recommended action.RecommendedAction.BuildercontextAttributes(ContextAttribute... contextAttributes)The supporting attributes to explain the recommended action.RecommendedAction.Builderdescription(String description)A detailed description of the action.default RecommendedAction.BuilderissueDetails(Consumer<IssueDetails.Builder> issueDetails)The details of the issue.RecommendedAction.BuilderissueDetails(IssueDetails issueDetails)The details of the issue.RecommendedAction.Builderoperation(String operation)An API operation for the action.RecommendedAction.Builderparameters(Collection<RecommendedActionParameter> parameters)The parameters for the API operation.RecommendedAction.Builderparameters(Consumer<RecommendedActionParameter.Builder>... parameters)The parameters for the API operation.RecommendedAction.Builderparameters(RecommendedActionParameter... parameters)The parameters for the API operation.RecommendedAction.Builderstatus(String status)The status of the action.RecommendedAction.Buildertitle(String title)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, sdkFieldNameToField, sdkFields
-
-
-
-
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(Collection<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.
-
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.
-
parameters
RecommendedAction.Builder parameters(Consumer<RecommendedActionParameter.Builder>... parameters)
The parameters for the API operation.
This is a convenience method that creates an instance of theRecommendedActionParameter.Builderavoiding the need to create one manually viaRecommendedActionParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#parameters(List.) - 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:
#parameters(java.util.Collection)
-
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.
-
issueDetails
default RecommendedAction.Builder issueDetails(Consumer<IssueDetails.Builder> issueDetails)
The details of the issue.
This is a convenience method that creates an instance of theIssueDetails.Builderavoiding the need to create one manually viaIssueDetails.builder().When the
Consumercompletes,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:
issueDetails(IssueDetails)
-
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 theContextAttribute.Builderavoiding the need to create one manually viaContextAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contextAttributes(List.) - 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:
#contextAttributes(java.util.Collection)
-
-