@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Defines a recommendation configuration.
Constructor and Description |
---|
ConfigRecommendation() |
Modifier and Type | Method and Description |
---|---|
ConfigRecommendation |
addComplianceEntry(String key,
DisruptionCompliance value)
Add a single Compliance entry
|
ConfigRecommendation |
addRecommendationComplianceEntry(String key,
RecommendationDisruptionCompliance value)
Add a single RecommendationCompliance entry
|
ConfigRecommendation |
clearComplianceEntries()
Removes all the entries added into Compliance.
|
ConfigRecommendation |
clearRecommendationComplianceEntries()
Removes all the entries added into RecommendationCompliance.
|
ConfigRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAppComponentName()
Name of the Application Component.
|
Map<String,DisruptionCompliance> |
getCompliance()
The current compliance against the resiliency policy before applying the configuration change.
|
Cost |
getCost()
The cost for the application.
|
String |
getDescription()
The optional description for an app.
|
String |
getHaArchitecture()
The architecture type.
|
String |
getName()
The name of the recommendation configuration.
|
String |
getOptimizationType()
The type of optimization.
|
Map<String,RecommendationDisruptionCompliance> |
getRecommendationCompliance()
The expected compliance against the resiliency policy after applying the configuration change.
|
String |
getReferenceId()
Reference identifier for the recommendation configuration.
|
List<String> |
getSuggestedChanges()
List of the suggested configuration changes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppComponentName(String appComponentName)
Name of the Application Component.
|
void |
setCompliance(Map<String,DisruptionCompliance> compliance)
The current compliance against the resiliency policy before applying the configuration change.
|
void |
setCost(Cost cost)
The cost for the application.
|
void |
setDescription(String description)
The optional description for an app.
|
void |
setHaArchitecture(String haArchitecture)
The architecture type.
|
void |
setName(String name)
The name of the recommendation configuration.
|
void |
setOptimizationType(String optimizationType)
The type of optimization.
|
void |
setRecommendationCompliance(Map<String,RecommendationDisruptionCompliance> recommendationCompliance)
The expected compliance against the resiliency policy after applying the configuration change.
|
void |
setReferenceId(String referenceId)
Reference identifier for the recommendation configuration.
|
void |
setSuggestedChanges(Collection<String> suggestedChanges)
List of the suggested configuration changes.
|
String |
toString()
Returns a string representation of this object.
|
ConfigRecommendation |
withAppComponentName(String appComponentName)
Name of the Application Component.
|
ConfigRecommendation |
withCompliance(Map<String,DisruptionCompliance> compliance)
The current compliance against the resiliency policy before applying the configuration change.
|
ConfigRecommendation |
withCost(Cost cost)
The cost for the application.
|
ConfigRecommendation |
withDescription(String description)
The optional description for an app.
|
ConfigRecommendation |
withHaArchitecture(HaArchitecture haArchitecture)
The architecture type.
|
ConfigRecommendation |
withHaArchitecture(String haArchitecture)
The architecture type.
|
ConfigRecommendation |
withName(String name)
The name of the recommendation configuration.
|
ConfigRecommendation |
withOptimizationType(ConfigRecommendationOptimizationType optimizationType)
The type of optimization.
|
ConfigRecommendation |
withOptimizationType(String optimizationType)
The type of optimization.
|
ConfigRecommendation |
withRecommendationCompliance(Map<String,RecommendationDisruptionCompliance> recommendationCompliance)
The expected compliance against the resiliency policy after applying the configuration change.
|
ConfigRecommendation |
withReferenceId(String referenceId)
Reference identifier for the recommendation configuration.
|
ConfigRecommendation |
withSuggestedChanges(Collection<String> suggestedChanges)
List of the suggested configuration changes.
|
ConfigRecommendation |
withSuggestedChanges(String... suggestedChanges)
List of the suggested configuration changes.
|
public void setAppComponentName(String appComponentName)
Name of the Application Component.
appComponentName
- Name of the Application Component.public String getAppComponentName()
Name of the Application Component.
public ConfigRecommendation withAppComponentName(String appComponentName)
Name of the Application Component.
appComponentName
- Name of the Application Component.public Map<String,DisruptionCompliance> getCompliance()
The current compliance against the resiliency policy before applying the configuration change.
public void setCompliance(Map<String,DisruptionCompliance> compliance)
The current compliance against the resiliency policy before applying the configuration change.
compliance
- The current compliance against the resiliency policy before applying the configuration change.public ConfigRecommendation withCompliance(Map<String,DisruptionCompliance> compliance)
The current compliance against the resiliency policy before applying the configuration change.
compliance
- The current compliance against the resiliency policy before applying the configuration change.public ConfigRecommendation addComplianceEntry(String key, DisruptionCompliance value)
public ConfigRecommendation clearComplianceEntries()
public void setCost(Cost cost)
The cost for the application.
cost
- The cost for the application.public Cost getCost()
The cost for the application.
public ConfigRecommendation withCost(Cost cost)
The cost for the application.
cost
- The cost for the application.public void setDescription(String description)
The optional description for an app.
description
- The optional description for an app.public String getDescription()
The optional description for an app.
public ConfigRecommendation withDescription(String description)
The optional description for an app.
description
- The optional description for an app.public void setHaArchitecture(String haArchitecture)
The architecture type.
haArchitecture
- The architecture type.HaArchitecture
public String getHaArchitecture()
The architecture type.
HaArchitecture
public ConfigRecommendation withHaArchitecture(String haArchitecture)
The architecture type.
haArchitecture
- The architecture type.HaArchitecture
public ConfigRecommendation withHaArchitecture(HaArchitecture haArchitecture)
The architecture type.
haArchitecture
- The architecture type.HaArchitecture
public void setName(String name)
The name of the recommendation configuration.
name
- The name of the recommendation configuration.public String getName()
The name of the recommendation configuration.
public ConfigRecommendation withName(String name)
The name of the recommendation configuration.
name
- The name of the recommendation configuration.public void setOptimizationType(String optimizationType)
The type of optimization.
optimizationType
- The type of optimization.ConfigRecommendationOptimizationType
public String getOptimizationType()
The type of optimization.
ConfigRecommendationOptimizationType
public ConfigRecommendation withOptimizationType(String optimizationType)
The type of optimization.
optimizationType
- The type of optimization.ConfigRecommendationOptimizationType
public ConfigRecommendation withOptimizationType(ConfigRecommendationOptimizationType optimizationType)
The type of optimization.
optimizationType
- The type of optimization.ConfigRecommendationOptimizationType
public Map<String,RecommendationDisruptionCompliance> getRecommendationCompliance()
The expected compliance against the resiliency policy after applying the configuration change.
public void setRecommendationCompliance(Map<String,RecommendationDisruptionCompliance> recommendationCompliance)
The expected compliance against the resiliency policy after applying the configuration change.
recommendationCompliance
- The expected compliance against the resiliency policy after applying the configuration change.public ConfigRecommendation withRecommendationCompliance(Map<String,RecommendationDisruptionCompliance> recommendationCompliance)
The expected compliance against the resiliency policy after applying the configuration change.
recommendationCompliance
- The expected compliance against the resiliency policy after applying the configuration change.public ConfigRecommendation addRecommendationComplianceEntry(String key, RecommendationDisruptionCompliance value)
public ConfigRecommendation clearRecommendationComplianceEntries()
public void setReferenceId(String referenceId)
Reference identifier for the recommendation configuration.
referenceId
- Reference identifier for the recommendation configuration.public String getReferenceId()
Reference identifier for the recommendation configuration.
public ConfigRecommendation withReferenceId(String referenceId)
Reference identifier for the recommendation configuration.
referenceId
- Reference identifier for the recommendation configuration.public List<String> getSuggestedChanges()
List of the suggested configuration changes.
public void setSuggestedChanges(Collection<String> suggestedChanges)
List of the suggested configuration changes.
suggestedChanges
- List of the suggested configuration changes.public ConfigRecommendation withSuggestedChanges(String... suggestedChanges)
List of the suggested configuration changes.
NOTE: This method appends the values to the existing list (if any). Use
setSuggestedChanges(java.util.Collection)
or withSuggestedChanges(java.util.Collection)
if you
want to override the existing values.
suggestedChanges
- List of the suggested configuration changes.public ConfigRecommendation withSuggestedChanges(Collection<String> suggestedChanges)
List of the suggested configuration changes.
suggestedChanges
- List of the suggested configuration changes.public String toString()
toString
in class Object
Object.toString()
public ConfigRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.