Interface ComponentRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentRecommendation.Builder,
,ComponentRecommendation> SdkBuilder<ComponentRecommendation.Builder,
,ComponentRecommendation> SdkPojo
- Enclosing class:
ComponentRecommendation
@Mutable
@NotThreadSafe
public static interface ComponentRecommendation.Builder
extends SdkPojo, CopyableBuilder<ComponentRecommendation.Builder,ComponentRecommendation>
-
Method Summary
Modifier and TypeMethodDescriptionappComponentName
(String appComponentName) Name of the Application Component.configRecommendations
(Collection<ConfigRecommendation> configRecommendations) List of recommendations.configRecommendations
(Consumer<ConfigRecommendation.Builder>... configRecommendations) List of recommendations.configRecommendations
(ConfigRecommendation... configRecommendations) List of recommendations.recommendationStatus
(String recommendationStatus) Status of the recommendation.recommendationStatus
(RecommendationComplianceStatus recommendationStatus) Status of the recommendation.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 Details
-
appComponentName
Name of the Application Component.
- Parameters:
appComponentName
- Name of the Application Component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configRecommendations
ComponentRecommendation.Builder configRecommendations(Collection<ConfigRecommendation> configRecommendations) List of recommendations.
- Parameters:
configRecommendations
- List of recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configRecommendations
ComponentRecommendation.Builder configRecommendations(ConfigRecommendation... configRecommendations) List of recommendations.
- Parameters:
configRecommendations
- List of recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configRecommendations
ComponentRecommendation.Builder configRecommendations(Consumer<ConfigRecommendation.Builder>... configRecommendations) List of recommendations.
This is a convenience method that creates an instance of theConfigRecommendation.Builder
avoiding the need to create one manually viaConfigRecommendation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigRecommendations(List<ConfigRecommendation>)
.- Parameters:
configRecommendations
- a consumer that will call methods onConfigRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationStatus
Status of the recommendation.
- Parameters:
recommendationStatus
- Status of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationStatus
ComponentRecommendation.Builder recommendationStatus(RecommendationComplianceStatus recommendationStatus) Status of the recommendation.
- Parameters:
recommendationStatus
- Status of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-