@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationComponentStrategy extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a strategy recommendation for an application component.
Constructor and Description |
---|
ApplicationComponentStrategy() |
Modifier and Type | Method and Description |
---|---|
ApplicationComponentStrategy |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsPreferred()
Set to true if the recommendation is set as preferred.
|
RecommendationSet |
getRecommendation()
Strategy recommendation for the application component.
|
String |
getStatus()
The recommendation status of a strategy for an application component.
|
int |
hashCode() |
Boolean |
isPreferred()
Set to true if the recommendation is set as preferred.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsPreferred(Boolean isPreferred)
Set to true if the recommendation is set as preferred.
|
void |
setRecommendation(RecommendationSet recommendation)
Strategy recommendation for the application component.
|
void |
setStatus(String status)
The recommendation status of a strategy for an application component.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationComponentStrategy |
withIsPreferred(Boolean isPreferred)
Set to true if the recommendation is set as preferred.
|
ApplicationComponentStrategy |
withRecommendation(RecommendationSet recommendation)
Strategy recommendation for the application component.
|
ApplicationComponentStrategy |
withStatus(StrategyRecommendation status)
The recommendation status of a strategy for an application component.
|
ApplicationComponentStrategy |
withStatus(String status)
The recommendation status of a strategy for an application component.
|
public void setIsPreferred(Boolean isPreferred)
Set to true if the recommendation is set as preferred.
isPreferred
- Set to true if the recommendation is set as preferred.public Boolean getIsPreferred()
Set to true if the recommendation is set as preferred.
public ApplicationComponentStrategy withIsPreferred(Boolean isPreferred)
Set to true if the recommendation is set as preferred.
isPreferred
- Set to true if the recommendation is set as preferred.public Boolean isPreferred()
Set to true if the recommendation is set as preferred.
public void setRecommendation(RecommendationSet recommendation)
Strategy recommendation for the application component.
recommendation
- Strategy recommendation for the application component.public RecommendationSet getRecommendation()
Strategy recommendation for the application component.
public ApplicationComponentStrategy withRecommendation(RecommendationSet recommendation)
Strategy recommendation for the application component.
recommendation
- Strategy recommendation for the application component.public void setStatus(String status)
The recommendation status of a strategy for an application component.
status
- The recommendation status of a strategy for an application component.StrategyRecommendation
public String getStatus()
The recommendation status of a strategy for an application component.
StrategyRecommendation
public ApplicationComponentStrategy withStatus(String status)
The recommendation status of a strategy for an application component.
status
- The recommendation status of a strategy for an application component.StrategyRecommendation
public ApplicationComponentStrategy withStatus(StrategyRecommendation status)
The recommendation status of a strategy for an application component.
status
- The recommendation status of a strategy for an application component.StrategyRecommendation
public String toString()
toString
in class Object
Object.toString()
public ApplicationComponentStrategy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.