@Generated(value="software.amazon.awssdk:codegen") public final class ServerStrategy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerStrategy.Builder,ServerStrategy>
Contains information about a strategy recommendation for a server.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServerStrategy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServerStrategy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isPreferred()
Set to true if the recommendation is set as preferred.
|
Integer |
numberOfApplicationComponents()
The number of application components with this strategy recommendation running on the server.
|
RecommendationSet |
recommendation()
Strategy recommendation for the server.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServerStrategy.Builder> |
serializableBuilderClass() |
StrategyRecommendation |
status()
The recommendation status of the strategy for the server.
|
String |
statusAsString()
The recommendation status of the strategy for the server.
|
ServerStrategy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean isPreferred()
Set to true if the recommendation is set as preferred.
public final Integer numberOfApplicationComponents()
The number of application components with this strategy recommendation running on the server.
public final RecommendationSet recommendation()
Strategy recommendation for the server.
public final StrategyRecommendation status()
The recommendation status of the strategy for the server.
If the service returns an enum value that is not available in the current SDK version, status will
return StrategyRecommendation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
StrategyRecommendationpublic final String statusAsString()
The recommendation status of the strategy for the server.
If the service returns an enum value that is not available in the current SDK version, status will
return StrategyRecommendation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
StrategyRecommendationpublic ServerStrategy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServerStrategy.Builder,ServerStrategy>public static ServerStrategy.Builder builder()
public static Class<? extends ServerStrategy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.