@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerStrategy extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a strategy recommendation for a server.
Constructor and Description |
---|
ServerStrategy() |
Modifier and Type | Method and Description |
---|---|
ServerStrategy |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsPreferred()
Set to true if the recommendation is set as preferred.
|
Integer |
getNumberOfApplicationComponents()
The number of application components with this strategy recommendation running on the server.
|
RecommendationSet |
getRecommendation()
Strategy recommendation for the server.
|
String |
getStatus()
The recommendation status of the strategy for the server.
|
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 |
setNumberOfApplicationComponents(Integer numberOfApplicationComponents)
The number of application components with this strategy recommendation running on the server.
|
void |
setRecommendation(RecommendationSet recommendation)
Strategy recommendation for the server.
|
void |
setStatus(String status)
The recommendation status of the strategy for the server.
|
String |
toString()
Returns a string representation of this object.
|
ServerStrategy |
withIsPreferred(Boolean isPreferred)
Set to true if the recommendation is set as preferred.
|
ServerStrategy |
withNumberOfApplicationComponents(Integer numberOfApplicationComponents)
The number of application components with this strategy recommendation running on the server.
|
ServerStrategy |
withRecommendation(RecommendationSet recommendation)
Strategy recommendation for the server.
|
ServerStrategy |
withStatus(StrategyRecommendation status)
The recommendation status of the strategy for the server.
|
ServerStrategy |
withStatus(String status)
The recommendation status of the strategy for the server.
|
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 ServerStrategy 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 setNumberOfApplicationComponents(Integer numberOfApplicationComponents)
The number of application components with this strategy recommendation running on the server.
numberOfApplicationComponents
- The number of application components with this strategy recommendation running on the server.public Integer getNumberOfApplicationComponents()
The number of application components with this strategy recommendation running on the server.
public ServerStrategy withNumberOfApplicationComponents(Integer numberOfApplicationComponents)
The number of application components with this strategy recommendation running on the server.
numberOfApplicationComponents
- The number of application components with this strategy recommendation running on the server.public void setRecommendation(RecommendationSet recommendation)
Strategy recommendation for the server.
recommendation
- Strategy recommendation for the server.public RecommendationSet getRecommendation()
Strategy recommendation for the server.
public ServerStrategy withRecommendation(RecommendationSet recommendation)
Strategy recommendation for the server.
recommendation
- Strategy recommendation for the server.public void setStatus(String status)
The recommendation status of the strategy for the server.
status
- The recommendation status of the strategy for the server.StrategyRecommendation
public String getStatus()
The recommendation status of the strategy for the server.
StrategyRecommendation
public ServerStrategy withStatus(String status)
The recommendation status of the strategy for the server.
status
- The recommendation status of the strategy for the server.StrategyRecommendation
public ServerStrategy withStatus(StrategyRecommendation status)
The recommendation status of the strategy for the server.
status
- The recommendation status of the strategy for the server.StrategyRecommendation
public String toString()
toString
in class Object
Object.toString()
public ServerStrategy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.