@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Defines recommendations for a 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)
Marshalls this structured data using the given
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.RecommendationComplianceStatus
public String getRecommendationStatus()
The recommendation status.
RecommendationComplianceStatus
public ComponentRecommendation withRecommendationStatus(String recommendationStatus)
The recommendation status.
recommendationStatus
- The recommendation status.RecommendationComplianceStatus
public ComponentRecommendation withRecommendationStatus(RecommendationComplianceStatus recommendationStatus)
The recommendation status.
recommendationStatus
- The recommendation status.RecommendationComplianceStatus
public String toString()
toString
in class Object
Object.toString()
public ComponentRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.