@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()
Name of the Application Component.
|
List<ConfigRecommendation> |
getConfigRecommendations()
List of recommendations.
|
String |
getRecommendationStatus()
Status of the recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAppComponentName(String appComponentName)
Name of the Application Component.
|
void |
setConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
List of recommendations.
|
void |
setRecommendationStatus(String recommendationStatus)
Status of the recommendation.
|
String |
toString()
Returns a string representation of this object.
|
ComponentRecommendation |
withAppComponentName(String appComponentName)
Name of the Application Component.
|
ComponentRecommendation |
withConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
List of recommendations.
|
ComponentRecommendation |
withConfigRecommendations(ConfigRecommendation... configRecommendations)
List of recommendations.
|
ComponentRecommendation |
withRecommendationStatus(RecommendationComplianceStatus recommendationStatus)
Status of the recommendation.
|
ComponentRecommendation |
withRecommendationStatus(String recommendationStatus)
Status of the recommendation.
|
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 ComponentRecommendation withAppComponentName(String appComponentName)
Name of the Application Component.
appComponentName - Name of the Application Component.public List<ConfigRecommendation> getConfigRecommendations()
List of recommendations.
public void setConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
List of recommendations.
configRecommendations - List of recommendations.public ComponentRecommendation withConfigRecommendations(ConfigRecommendation... configRecommendations)
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 - List of recommendations.public ComponentRecommendation withConfigRecommendations(Collection<ConfigRecommendation> configRecommendations)
List of recommendations.
configRecommendations - List of recommendations.public void setRecommendationStatus(String recommendationStatus)
Status of the recommendation.
recommendationStatus - Status of the recommendation.RecommendationComplianceStatuspublic String getRecommendationStatus()
Status of the recommendation.
RecommendationComplianceStatuspublic ComponentRecommendation withRecommendationStatus(String recommendationStatus)
Status of the recommendation.
recommendationStatus - Status of the recommendation.RecommendationComplianceStatuspublic ComponentRecommendation withRecommendationStatus(RecommendationComplianceStatus recommendationStatus)
Status of the recommendation.
recommendationStatus - Status of the recommendation.RecommendationComplianceStatuspublic String toString()
toString in class ObjectObject.toString()public ComponentRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.