@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetServerStrategiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetServerStrategiesResult() |
Modifier and Type | Method and Description |
---|---|
GetServerStrategiesResult |
clone() |
boolean |
equals(Object obj) |
List<ServerStrategy> |
getServerStrategies()
A list of strategy recommendations for the server.
|
int |
hashCode() |
void |
setServerStrategies(Collection<ServerStrategy> serverStrategies)
A list of strategy recommendations for the server.
|
String |
toString()
Returns a string representation of this object.
|
GetServerStrategiesResult |
withServerStrategies(Collection<ServerStrategy> serverStrategies)
A list of strategy recommendations for the server.
|
GetServerStrategiesResult |
withServerStrategies(ServerStrategy... serverStrategies)
A list of strategy recommendations for the server.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ServerStrategy> getServerStrategies()
A list of strategy recommendations for the server.
public void setServerStrategies(Collection<ServerStrategy> serverStrategies)
A list of strategy recommendations for the server.
serverStrategies
- A list of strategy recommendations for the server.public GetServerStrategiesResult withServerStrategies(ServerStrategy... serverStrategies)
A list of strategy recommendations for the server.
NOTE: This method appends the values to the existing list (if any). Use
setServerStrategies(java.util.Collection)
or withServerStrategies(java.util.Collection)
if you
want to override the existing values.
serverStrategies
- A list of strategy recommendations for the server.public GetServerStrategiesResult withServerStrategies(Collection<ServerStrategy> serverStrategies)
A list of strategy recommendations for the server.
serverStrategies
- A list of strategy recommendations for the server.public String toString()
toString
in class Object
Object.toString()
public GetServerStrategiesResult clone()