@Generated(value="software.amazon.awssdk:codegen") public final class StrategyOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StrategyOption.Builder,StrategyOption>
Information about all the available strategy options for migrating and modernizing an application component.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StrategyOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StrategyOption.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isPreferred()
Indicates if a specific strategy is preferred for the application component.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StrategyOption.Builder> |
serializableBuilderClass() |
Strategy |
strategy()
Type of transformation.
|
String |
strategyAsString()
Type of transformation.
|
TargetDestination |
targetDestination()
Destination information about where the application component can migrate to.
|
String |
targetDestinationAsString()
Destination information about where the application component can migrate to.
|
StrategyOption.Builder |
toBuilder() |
TransformationToolName |
toolName()
The name of the tool that can be used to transform an application component using this strategy.
|
String |
toolNameAsString()
The name of the tool that can be used to transform an application component using this strategy.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean isPreferred()
Indicates if a specific strategy is preferred for the application component.
public final Strategy strategy()
Type of transformation. For example, Rehost, Replatform, and so on.
If the service returns an enum value that is not available in the current SDK version, strategy will
return Strategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
strategyAsString().
Strategypublic final String strategyAsString()
Type of transformation. For example, Rehost, Replatform, and so on.
If the service returns an enum value that is not available in the current SDK version, strategy will
return Strategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
strategyAsString().
Strategypublic final TargetDestination targetDestination()
Destination information about where the application component can migrate to. For example, EC2,
ECS, and so on.
If the service returns an enum value that is not available in the current SDK version, targetDestination
will return TargetDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetDestinationAsString().
EC2, ECS, and so on.TargetDestinationpublic final String targetDestinationAsString()
Destination information about where the application component can migrate to. For example, EC2,
ECS, and so on.
If the service returns an enum value that is not available in the current SDK version, targetDestination
will return TargetDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetDestinationAsString().
EC2, ECS, and so on.TargetDestinationpublic final TransformationToolName toolName()
The name of the tool that can be used to transform an application component using this strategy.
If the service returns an enum value that is not available in the current SDK version, toolName will
return TransformationToolName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from toolNameAsString().
TransformationToolNamepublic final String toolNameAsString()
The name of the tool that can be used to transform an application component using this strategy.
If the service returns an enum value that is not available in the current SDK version, toolName will
return TransformationToolName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from toolNameAsString().
TransformationToolNamepublic StrategyOption.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StrategyOption.Builder,StrategyOption>public static StrategyOption.Builder builder()
public static Class<? extends StrategyOption.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.