public static interface ApplicationComponentStrategy.Builder extends SdkPojo, CopyableBuilder<ApplicationComponentStrategy.Builder,ApplicationComponentStrategy>
| Modifier and Type | Method and Description |
|---|---|
ApplicationComponentStrategy.Builder |
isPreferred(Boolean isPreferred)
Set to true if the recommendation is set as preferred.
|
default ApplicationComponentStrategy.Builder |
recommendation(Consumer<RecommendationSet.Builder> recommendation)
Strategy recommendation for the application component.
|
ApplicationComponentStrategy.Builder |
recommendation(RecommendationSet recommendation)
Strategy recommendation for the application component.
|
ApplicationComponentStrategy.Builder |
status(StrategyRecommendation status)
The recommendation status of a strategy for an application component.
|
ApplicationComponentStrategy.Builder |
status(String status)
The recommendation status of a strategy for an application component.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildApplicationComponentStrategy.Builder isPreferred(Boolean isPreferred)
Set to true if the recommendation is set as preferred.
isPreferred - Set to true if the recommendation is set as preferred.ApplicationComponentStrategy.Builder recommendation(RecommendationSet recommendation)
Strategy recommendation for the application component.
recommendation - Strategy recommendation for the application component.default ApplicationComponentStrategy.Builder recommendation(Consumer<RecommendationSet.Builder> recommendation)
Strategy recommendation for the application component.
This is a convenience method that creates an instance of theRecommendationSet.Builder avoiding the
need to create one manually via RecommendationSet.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to recommendation(RecommendationSet).
recommendation - a consumer that will call methods on RecommendationSet.Builderrecommendation(RecommendationSet)ApplicationComponentStrategy.Builder status(String status)
The recommendation status of a strategy for an application component.
status - The recommendation status of a strategy for an application component.StrategyRecommendation,
StrategyRecommendationApplicationComponentStrategy.Builder status(StrategyRecommendation status)
The recommendation status of a strategy for an application component.
status - The recommendation status of a strategy for an application component.StrategyRecommendation,
StrategyRecommendationCopyright © 2022. All rights reserved.