public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
| Modifier and Type | Method and Description |
|---|---|
Recommendation.Builder |
category(String category)
The category type of the recommendation.
|
Recommendation.Builder |
description(String description)
A description of the problem.
|
Recommendation.Builder |
link(String link)
A hyperlink to information to help you address the problem.
|
Recommendation.Builder |
name(String name)
The name of the recommendation.
|
Recommendation.Builder |
reason(String reason)
The reason DevOps Guru flagged the anomalous behavior as a problem.
|
Recommendation.Builder |
relatedAnomalies(Collection<RecommendationRelatedAnomaly> relatedAnomalies)
Anomalies that are related to the problem.
|
Recommendation.Builder |
relatedAnomalies(Consumer<RecommendationRelatedAnomaly.Builder>... relatedAnomalies)
Anomalies that are related to the problem.
|
Recommendation.Builder |
relatedAnomalies(RecommendationRelatedAnomaly... relatedAnomalies)
Anomalies that are related to the problem.
|
Recommendation.Builder |
relatedEvents(Collection<RecommendationRelatedEvent> relatedEvents)
Events that are related to the problem.
|
Recommendation.Builder |
relatedEvents(Consumer<RecommendationRelatedEvent.Builder>... relatedEvents)
Events that are related to the problem.
|
Recommendation.Builder |
relatedEvents(RecommendationRelatedEvent... relatedEvents)
Events that are related to the problem.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendation.Builder description(String description)
A description of the problem.
description - A description of the problem.Recommendation.Builder link(String link)
A hyperlink to information to help you address the problem.
link - A hyperlink to information to help you address the problem.Recommendation.Builder name(String name)
The name of the recommendation.
name - The name of the recommendation.Recommendation.Builder reason(String reason)
The reason DevOps Guru flagged the anomalous behavior as a problem.
reason - The reason DevOps Guru flagged the anomalous behavior as a problem.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.
relatedEvents - Events that are related to the problem. Use these events to learn more about what's happening and to
help address the issue.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.
relatedEvents - Events that are related to the problem. Use these events to learn more about what's happening and to
help address the issue.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.Builder avoiding the need
to create one manually via
RecommendationRelatedEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #relatedEvents(List.
relatedEvents - a consumer that will call methods on
RecommendationRelatedEvent.Builder#relatedEvents(java.util.Collection) 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.
relatedAnomalies - Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening
and to help address the issue.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.
relatedAnomalies - Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening
and to help address the issue.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.Builder avoiding the
need to create one manually via
RecommendationRelatedAnomaly.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #relatedAnomalies(List.
relatedAnomalies - a consumer that will call methods on
RecommendationRelatedAnomaly.Builder#relatedAnomalies(java.util.Collection) Recommendation.Builder category(String category)
The category type of the recommendation.
category - The category type of the recommendation.Copyright © 2023. All rights reserved.