@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Defines recommendations for an Resilience Hub Application Component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.
| Constructor and Description |
|---|
ComponentRecommendation() |
| Modifier and Type | Method and Description |
|---|---|
ComponentRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAppComponentName()
The name of the Application Component.
|
List<ConfigRecommendation> |
getConfigRecommendations()
The list of recommendations.
|
String |
getRecommendationStatus()
The recommendation status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAppComponentName(String appComponentName)
The name of the Application Component.
|
void |
setConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
The list of recommendations.
|
void |
setRecommendationStatus(String recommendationStatus)
The recommendation status.
|
String |
toString()
Returns a string representation of this object.
|
ComponentRecommendation |
withAppComponentName(String appComponentName)
The name of the Application Component.
|
ComponentRecommendation |
withConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
The list of recommendations.
|
ComponentRecommendation |
withConfigRecommendations(ConfigRecommendation... configRecommendations)
The list of recommendations.
|
ComponentRecommendation |
withRecommendationStatus(RecommendationComplianceStatus recommendationStatus)
The recommendation status.
|
ComponentRecommendation |
withRecommendationStatus(String recommendationStatus)
The recommendation status.
|
public void setAppComponentName(String appComponentName)
The name of the Application Component.
appComponentName - The name of the Application Component.public String getAppComponentName()
The name of the Application Component.
public ComponentRecommendation withAppComponentName(String appComponentName)
The name of the Application Component.
appComponentName - The name of the Application Component.public List<ConfigRecommendation> getConfigRecommendations()
The list of recommendations.
public void setConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
The list of recommendations.
configRecommendations - The list of recommendations.public ComponentRecommendation withConfigRecommendations(ConfigRecommendation... configRecommendations)
The list of recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setConfigRecommendations(java.util.Collection) or
withConfigRecommendations(java.util.Collection) if you want to override the existing values.
configRecommendations - The list of recommendations.public ComponentRecommendation withConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
The list of recommendations.
configRecommendations - The list of recommendations.public void setRecommendationStatus(String recommendationStatus)
The recommendation status.
recommendationStatus - The recommendation status.RecommendationComplianceStatuspublic String getRecommendationStatus()
The recommendation status.
RecommendationComplianceStatuspublic ComponentRecommendation withRecommendationStatus(String recommendationStatus)
The recommendation status.
recommendationStatus - The recommendation status.RecommendationComplianceStatuspublic ComponentRecommendation withRecommendationStatus(RecommendationComplianceStatus recommendationStatus)
The recommendation status.
recommendationStatus - The recommendation status.RecommendationComplianceStatuspublic String toString()
toString in class ObjectObject.toString()public ComponentRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.