Interface ConfigRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigRecommendation.Builder,
,ConfigRecommendation> SdkBuilder<ConfigRecommendation.Builder,
,ConfigRecommendation> SdkPojo
- Enclosing class:
ConfigRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionappComponentName
(String appComponentName) Name of the Application Component.compliance
(Map<DisruptionType, DisruptionCompliance> compliance) The current compliance against the resiliency policy before applying the configuration change.complianceWithStrings
(Map<String, DisruptionCompliance> compliance) The current compliance against the resiliency policy before applying the configuration change.default ConfigRecommendation.Builder
cost
(Consumer<Cost.Builder> cost) The cost for the application.The cost for the application.description
(String description) The optional description for an app.haArchitecture
(String haArchitecture) The architecture type.haArchitecture
(HaArchitecture haArchitecture) The architecture type.The name of the recommendation configuration.optimizationType
(String optimizationType) The type of optimization.optimizationType
(ConfigRecommendationOptimizationType optimizationType) The type of optimization.recommendationCompliance
(Map<DisruptionType, RecommendationDisruptionCompliance> recommendationCompliance) The expected compliance against the resiliency policy after applying the configuration change.recommendationComplianceWithStrings
(Map<String, RecommendationDisruptionCompliance> recommendationCompliance) The expected compliance against the resiliency policy after applying the configuration change.referenceId
(String referenceId) Reference identifier for the recommendation configuration.suggestedChanges
(String... suggestedChanges) List of the suggested configuration changes.suggestedChanges
(Collection<String> suggestedChanges) List of the suggested configuration changes.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 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.
-
complianceWithStrings
The current compliance against the resiliency policy before applying the configuration change.
- Parameters:
compliance
- The current compliance against the resiliency policy before applying the configuration change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
The current compliance against the resiliency policy before applying the configuration change.
- Parameters:
compliance
- The current compliance against the resiliency policy before applying the configuration change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cost
The cost for the application.
- Parameters:
cost
- The cost for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cost
The cost for the application.
This is a convenience method that creates an instance of theCost.Builder
avoiding the need to create one manually viaCost.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocost(Cost)
.- Parameters:
cost
- a consumer that will call methods onCost.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The optional description for an app.
- Parameters:
description
- The optional description for an app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
haArchitecture
The architecture type.
- Parameters:
haArchitecture
- The architecture type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
haArchitecture
The architecture type.
- Parameters:
haArchitecture
- The architecture type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the recommendation configuration.
- Parameters:
name
- The name of the recommendation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationType
The type of optimization.
- Parameters:
optimizationType
- The type of optimization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationType
ConfigRecommendation.Builder optimizationType(ConfigRecommendationOptimizationType optimizationType) The type of optimization.
- Parameters:
optimizationType
- The type of optimization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationComplianceWithStrings
ConfigRecommendation.Builder recommendationComplianceWithStrings(Map<String, RecommendationDisruptionCompliance> recommendationCompliance) The expected compliance against the resiliency policy after applying the configuration change.
- Parameters:
recommendationCompliance
- The expected compliance against the resiliency policy after applying the configuration change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationCompliance
ConfigRecommendation.Builder recommendationCompliance(Map<DisruptionType, RecommendationDisruptionCompliance> recommendationCompliance) The expected compliance against the resiliency policy after applying the configuration change.
- Parameters:
recommendationCompliance
- The expected compliance against the resiliency policy after applying the configuration change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceId
Reference identifier for the recommendation configuration.
- Parameters:
referenceId
- Reference identifier for the recommendation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestedChanges
List of the suggested configuration changes.
- Parameters:
suggestedChanges
- List of the suggested configuration changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suggestedChanges
List of the suggested configuration changes.
- Parameters:
suggestedChanges
- List of the suggested configuration changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-