Interface DBRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBRecommendation.Builder,
,DBRecommendation> SdkBuilder<DBRecommendation.Builder,
,DBRecommendation> SdkPojo
- Enclosing class:
DBRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionadditionalInfo
(String additionalInfo) Additional information about the recommendation.The category of the recommendation.createdTime
(Instant createdTime) The time when the recommendation was created.description
(String description) A detailed description of the recommendation.A short description of the issue identified for this recommendation.A short description that explains the possible impact of an issue.default DBRecommendation.Builder
issueDetails
(Consumer<IssueDetails.Builder> issueDetails) Details of the issue that caused the recommendation.issueDetails
(IssueDetails issueDetails) Details of the issue that caused the recommendation.links
(Collection<DocLink> links) A link to documentation that provides additional information about the recommendation.links
(Consumer<DocLink.Builder>... links) A link to documentation that provides additional information about the recommendation.A link to documentation that provides additional information about the recommendation.The reason why this recommendation was created.recommendation
(String recommendation) A short description of the recommendation to resolve an issue.recommendationId
(String recommendationId) The unique identifier of the recommendation.recommendedActions
(Collection<RecommendedAction> recommendedActions) A list of recommended actions.recommendedActions
(Consumer<RecommendedAction.Builder>... recommendedActions) A list of recommended actions.recommendedActions
(RecommendedAction... recommendedActions) A list of recommended actions.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.The severity level of the recommendation.The Amazon Web Services service that generated the recommendations.The current status of the recommendation.typeDetection
(String typeDetection) A short description of the recommendation type.A value that indicates the type of recommendation.typeRecommendation
(String typeRecommendation) A short description that summarizes the recommendation to fix all the issues of the recommendation type.updatedTime
(Instant updatedTime) The time when the recommendation was last updated.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
-
recommendationId
The unique identifier of the recommendation.
- Parameters:
recommendationId
- The unique identifier of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeId
A value that indicates the type of recommendation. This value determines how the description is rendered.
- Parameters:
typeId
- A value that indicates the type of recommendation. This value determines how the description is rendered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation.
Valid values:
-
high
-
medium
-
low
-
informational
- Parameters:
severity
- The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation.Valid values:
-
high
-
medium
-
low
-
informational
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
resourceArn
The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the recommendation.
Valid values:
-
active
- The recommendations which are ready for you to apply. -
pending
- The applied or scheduled recommendations which are in progress. -
resolved
- The recommendations which are completed. -
dismissed
- The recommendations that you dismissed.
- Parameters:
status
- The current status of the recommendation.Valid values:
-
active
- The recommendations which are ready for you to apply. -
pending
- The applied or scheduled recommendations which are in progress. -
resolved
- The recommendations which are completed. -
dismissed
- The recommendations that you dismissed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
createdTime
The time when the recommendation was created. For example,
2023-09-28T01:13:53.931000+00:00
.- Parameters:
createdTime
- The time when the recommendation was created. For example,2023-09-28T01:13:53.931000+00:00
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTime
The time when the recommendation was last updated.
- Parameters:
updatedTime
- The time when the recommendation was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detection
A short description of the issue identified for this recommendation. The description might contain markdown.
- Parameters:
detection
- A short description of the issue identified for this recommendation. The description might contain markdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
A short description of the recommendation to resolve an issue. The description might contain markdown.
- Parameters:
recommendation
- A short description of the recommendation to resolve an issue. 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 recommendation. The description might contain markdown.
- Parameters:
description
- A detailed description of the recommendation. The description might contain markdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
The reason why this recommendation was created. The information might contain markdown.
- Parameters:
reason
- The reason why this recommendation was created. The information might contain markdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
A list of recommended actions.
- Parameters:
recommendedActions
- A list of recommended actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
A list of recommended actions.
- Parameters:
recommendedActions
- A list of recommended actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
DBRecommendation.Builder recommendedActions(Consumer<RecommendedAction.Builder>... recommendedActions) A list of recommended actions.
This is a convenience method that creates an instance of theRecommendedAction.Builder
avoiding the need to create one manually viaRecommendedAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendedActions(List<RecommendedAction>)
.- Parameters:
recommendedActions
- a consumer that will call methods onRecommendedAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
category
The category of the recommendation.
Valid values:
-
performance efficiency
-
security
-
reliability
-
cost optimization
-
operational excellence
-
sustainability
- Parameters:
category
- The category of the recommendation.Valid values:
-
performance efficiency
-
security
-
reliability
-
cost optimization
-
operational excellence
-
sustainability
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
source
The Amazon Web Services service that generated the recommendations.
- Parameters:
source
- The Amazon Web Services service that generated the recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeDetection
A short description of the recommendation type. The description might contain markdown.
- Parameters:
typeDetection
- A short description of the recommendation type. The description might contain markdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeRecommendation
A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.
- Parameters:
typeRecommendation
- A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impact
A short description that explains the possible impact of an issue.
- Parameters:
impact
- A short description that explains the possible impact of an issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInfo
Additional information about the recommendation. The information might contain markdown.
- Parameters:
additionalInfo
- Additional information about the recommendation. The information might contain markdown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
links
A link to documentation that provides additional information about the recommendation.
- Parameters:
links
- A link to documentation that provides additional information about the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
links
A link to documentation that provides additional information about the recommendation.
- Parameters:
links
- A link to documentation that provides additional information about the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
links
A link to documentation that provides additional information about the recommendation.
This is a convenience method that creates an instance of theDocLink.Builder
avoiding the need to create one manually viaDocLink.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolinks(List<DocLink>)
.- Parameters:
links
- a consumer that will call methods onDocLink.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issueDetails
Details of the issue that caused the recommendation.
- Parameters:
issueDetails
- Details of the issue that caused the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issueDetails
Details of the issue that caused the recommendation.
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:
-