Interface DBRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DBRecommendation.Builder,DBRecommendation>,SdkBuilder<DBRecommendation.Builder,DBRecommendation>,SdkPojo
- Enclosing class:
- DBRecommendation
public static interface DBRecommendation.Builder extends SdkPojo, CopyableBuilder<DBRecommendation.Builder,DBRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DBRecommendation.BuilderadditionalInfo(String additionalInfo)Additional information about the recommendation.DBRecommendation.Buildercategory(String category)The category of the recommendation.DBRecommendation.BuildercreatedTime(Instant createdTime)The time when the recommendation was created.DBRecommendation.Builderdescription(String description)A detailed description of the recommendation.DBRecommendation.Builderdetection(String detection)A short description of the issue identified for this recommendation.DBRecommendation.Builderimpact(String impact)A short description that explains the possible impact of an issue.default DBRecommendation.BuilderissueDetails(Consumer<IssueDetails.Builder> issueDetails)Details of the issue that caused the recommendation.DBRecommendation.BuilderissueDetails(IssueDetails issueDetails)Details of the issue that caused the recommendation.DBRecommendation.Builderlinks(Collection<DocLink> links)A link to documentation that provides additional information about the recommendation.DBRecommendation.Builderlinks(Consumer<DocLink.Builder>... links)A link to documentation that provides additional information about the recommendation.DBRecommendation.Builderlinks(DocLink... links)A link to documentation that provides additional information about the recommendation.DBRecommendation.Builderreason(String reason)The reason why this recommendation was created.DBRecommendation.Builderrecommendation(String recommendation)A short description of the recommendation to resolve an issue.DBRecommendation.BuilderrecommendationId(String recommendationId)The unique identifier of the recommendation.DBRecommendation.BuilderrecommendedActions(Collection<RecommendedAction> recommendedActions)A list of recommended actions.DBRecommendation.BuilderrecommendedActions(Consumer<RecommendedAction.Builder>... recommendedActions)A list of recommended actions.DBRecommendation.BuilderrecommendedActions(RecommendedAction... recommendedActions)A list of recommended actions.DBRecommendation.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.DBRecommendation.Builderseverity(String severity)The severity level of the recommendation.DBRecommendation.Buildersource(String source)The Amazon Web Services service that generated the recommendations.DBRecommendation.Builderstatus(String status)The current status of the recommendation.DBRecommendation.BuildertypeDetection(String typeDetection)A short description of the recommendation type.DBRecommendation.BuildertypeId(String typeId)A value that indicates the type of recommendation.DBRecommendation.BuildertypeRecommendation(String typeRecommendation)A short description that summarizes the recommendation to fix all the issues of the recommendation type.DBRecommendation.BuilderupdatedTime(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
recommendationId
DBRecommendation.Builder recommendationId(String 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
DBRecommendation.Builder typeId(String 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
DBRecommendation.Builder severity(String 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
DBRecommendation.Builder resourceArn(String 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
DBRecommendation.Builder status(String 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
DBRecommendation.Builder createdTime(Instant 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
DBRecommendation.Builder updatedTime(Instant 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
DBRecommendation.Builder detection(String 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
DBRecommendation.Builder recommendation(String 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
DBRecommendation.Builder description(String 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
DBRecommendation.Builder reason(String 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
DBRecommendation.Builder recommendedActions(Collection<RecommendedAction> 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(RecommendedAction... 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.Builderavoiding the need to create one manually viaRecommendedAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recommendedActions(List.) - 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:
#recommendedActions(java.util.Collection)
-
category
DBRecommendation.Builder category(String 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
DBRecommendation.Builder source(String 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
DBRecommendation.Builder typeDetection(String 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
DBRecommendation.Builder typeRecommendation(String 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
DBRecommendation.Builder impact(String 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
DBRecommendation.Builder additionalInfo(String 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
DBRecommendation.Builder links(Collection<DocLink> 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
DBRecommendation.Builder links(DocLink... 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
DBRecommendation.Builder links(Consumer<DocLink.Builder>... links)
A link to documentation that provides additional information about the recommendation.
This is a convenience method that creates an instance of theDocLink.Builderavoiding the need to create one manually viaDocLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#links(List.) - 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:
#links(java.util.Collection)
-
issueDetails
DBRecommendation.Builder issueDetails(IssueDetails 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
default DBRecommendation.Builder issueDetails(Consumer<IssueDetails.Builder> issueDetails)
Details of the issue that caused the recommendation.
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)
-
-