Interface ApplicationComponentStrategy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationComponentStrategy.Builder,,ApplicationComponentStrategy> SdkBuilder<ApplicationComponentStrategy.Builder,,ApplicationComponentStrategy> SdkPojo
- Enclosing class:
ApplicationComponentStrategy
public static interface ApplicationComponentStrategy.Builder
extends SdkPojo, CopyableBuilder<ApplicationComponentStrategy.Builder,ApplicationComponentStrategy>
-
Method Summary
Modifier and TypeMethodDescriptionisPreferred(Boolean isPreferred) Set to true if the recommendation is set as preferred.recommendation(Consumer<RecommendationSet.Builder> recommendation) Strategy recommendation for the application component.recommendation(RecommendationSet recommendation) Strategy recommendation for the application component.The recommendation status of a strategy for an application component.status(StrategyRecommendation status) The recommendation status of a strategy for an application component.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
isPreferred
Set to true if the recommendation is set as preferred.
- Parameters:
isPreferred- Set to true if the recommendation is set as preferred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
Strategy recommendation for the application component.
- Parameters:
recommendation- Strategy recommendation for the application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
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.Builderavoiding the need to create one manually viaRecommendationSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendation(RecommendationSet).- Parameters:
recommendation- a consumer that will call methods onRecommendationSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The recommendation status of a strategy for an application component.
- Parameters:
status- The recommendation status of a strategy for an application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The recommendation status of a strategy for an application component.
- Parameters:
status- The recommendation status of a strategy for an application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-