Interface ConfigRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigRecommendation.Builder,ConfigRecommendation>,SdkBuilder<ConfigRecommendation.Builder,ConfigRecommendation>,SdkPojo
- Enclosing class:
- ConfigRecommendation
public static interface ConfigRecommendation.Builder extends SdkPojo, CopyableBuilder<ConfigRecommendation.Builder,ConfigRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConfigRecommendation.BuilderappComponentName(String appComponentName)Name of the Application Component.ConfigRecommendation.Buildercompliance(Map<DisruptionType,DisruptionCompliance> compliance)The current compliance against the resiliency policy before applying the configuration change.ConfigRecommendation.BuildercomplianceWithStrings(Map<String,DisruptionCompliance> compliance)The current compliance against the resiliency policy before applying the configuration change.default ConfigRecommendation.Buildercost(Consumer<Cost.Builder> cost)The cost for the application.ConfigRecommendation.Buildercost(Cost cost)The cost for the application.ConfigRecommendation.Builderdescription(String description)The optional description for an app.ConfigRecommendation.BuilderhaArchitecture(String haArchitecture)The architecture type.ConfigRecommendation.BuilderhaArchitecture(HaArchitecture haArchitecture)The architecture type.ConfigRecommendation.Buildername(String name)The name of the recommendation configuration.ConfigRecommendation.BuilderoptimizationType(String optimizationType)The type of optimization.ConfigRecommendation.BuilderoptimizationType(ConfigRecommendationOptimizationType optimizationType)The type of optimization.ConfigRecommendation.BuilderrecommendationCompliance(Map<DisruptionType,RecommendationDisruptionCompliance> recommendationCompliance)The expected compliance against the resiliency policy after applying the configuration change.ConfigRecommendation.BuilderrecommendationComplianceWithStrings(Map<String,RecommendationDisruptionCompliance> recommendationCompliance)The expected compliance against the resiliency policy after applying the configuration change.ConfigRecommendation.BuilderreferenceId(String referenceId)Reference identifier for the recommendation configuration.ConfigRecommendation.BuildersuggestedChanges(String... suggestedChanges)List of the suggested configuration changes.ConfigRecommendation.BuildersuggestedChanges(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 Detail
-
appComponentName
ConfigRecommendation.Builder appComponentName(String 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
ConfigRecommendation.Builder complianceWithStrings(Map<String,DisruptionCompliance> 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.
-
compliance
ConfigRecommendation.Builder compliance(Map<DisruptionType,DisruptionCompliance> 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
ConfigRecommendation.Builder cost(Cost 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
default ConfigRecommendation.Builder cost(Consumer<Cost.Builder> cost)
The cost for the application.
This is a convenience method that creates an instance of theCost.Builderavoiding the need to create one manually viaCost.builder().When the
Consumercompletes,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:
cost(Cost)
-
description
ConfigRecommendation.Builder description(String 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
ConfigRecommendation.Builder haArchitecture(String 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,HaArchitecture
-
haArchitecture
ConfigRecommendation.Builder haArchitecture(HaArchitecture 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,HaArchitecture
-
name
ConfigRecommendation.Builder name(String 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
ConfigRecommendation.Builder optimizationType(String 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:
ConfigRecommendationOptimizationType,ConfigRecommendationOptimizationType
-
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:
ConfigRecommendationOptimizationType,ConfigRecommendationOptimizationType
-
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
ConfigRecommendation.Builder referenceId(String 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
ConfigRecommendation.Builder suggestedChanges(Collection<String> 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
ConfigRecommendation.Builder suggestedChanges(String... 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.
-
-