Interface Recommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Recommendation.Builder,Recommendation>,SdkBuilder<Recommendation.Builder,Recommendation>,SdkPojo
- Enclosing class:
- Recommendation
public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Recommendation.Buildercategory(String category)The category type of the recommendation.Recommendation.Builderdescription(String description)A description of the problem.Recommendation.Builderlink(String link)A hyperlink to information to help you address the problem.Recommendation.Buildername(String name)The name of the recommendation.Recommendation.Builderreason(String reason)The reason DevOps Guru flagged the anomalous behavior as a problem.Recommendation.BuilderrelatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)Anomalies that are related to the problem.Recommendation.BuilderrelatedAnomalies(Consumer<RecommendationRelatedAnomaly.Builder>... relatedAnomalies)Anomalies that are related to the problem.Recommendation.BuilderrelatedAnomalies(RecommendationRelatedAnomaly... relatedAnomalies)Anomalies that are related to the problem.Recommendation.BuilderrelatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)Events that are related to the problem.Recommendation.BuilderrelatedEvents(Consumer<RecommendationRelatedEvent.Builder>... relatedEvents)Events that are related to the problem.Recommendation.BuilderrelatedEvents(RecommendationRelatedEvent... relatedEvents)Events that are related to the problem.-
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 Detail
-
description
Recommendation.Builder description(String description)
A description of the problem.
- Parameters:
description- A description of the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
link
Recommendation.Builder link(String link)
A hyperlink to information to help you address the problem.
- Parameters:
link- A hyperlink to information to help you address the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Recommendation.Builder name(String name)
The name of the recommendation.
- Parameters:
name- The name of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
Recommendation.Builder reason(String reason)
The reason DevOps Guru flagged the anomalous behavior as a problem.
- Parameters:
reason- The reason DevOps Guru flagged the anomalous behavior as a problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedEvents
Recommendation.Builder relatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
- Parameters:
relatedEvents- Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedEvents
Recommendation.Builder relatedEvents(RecommendationRelatedEvent... relatedEvents)
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
- Parameters:
relatedEvents- Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedEvents
Recommendation.Builder relatedEvents(Consumer<RecommendationRelatedEvent.Builder>... relatedEvents)
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
This is a convenience method that creates an instance of theRecommendationRelatedEvent.Builderavoiding the need to create one manually viaRecommendationRelatedEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#relatedEvents(List.) - Parameters:
relatedEvents- a consumer that will call methods onRecommendationRelatedEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#relatedEvents(java.util.Collection)
-
relatedAnomalies
Recommendation.Builder relatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
- Parameters:
relatedAnomalies- Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedAnomalies
Recommendation.Builder relatedAnomalies(RecommendationRelatedAnomaly... relatedAnomalies)
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
- Parameters:
relatedAnomalies- Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedAnomalies
Recommendation.Builder relatedAnomalies(Consumer<RecommendationRelatedAnomaly.Builder>... relatedAnomalies)
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
This is a convenience method that creates an instance of theRecommendationRelatedAnomaly.Builderavoiding the need to create one manually viaRecommendationRelatedAnomaly.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#relatedAnomalies(List.) - Parameters:
relatedAnomalies- a consumer that will call methods onRecommendationRelatedAnomaly.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#relatedAnomalies(java.util.Collection)
-
category
Recommendation.Builder category(String category)
The category type of the recommendation.
- Parameters:
category- The category type of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-