Class StrategyOption
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.StrategyOption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StrategyOption.Builder,StrategyOption>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStrategyOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StrategyOption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisPreferred()Indicates if a specific strategy is preferred for the application component.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StrategyOption.Builder>serializableBuilderClass()Strategystrategy()Type of transformation.StringstrategyAsString()Type of transformation.TargetDestinationtargetDestination()Destination information about where the application component can migrate to.StringtargetDestinationAsString()Destination information about where the application component can migrate to.StrategyOption.BuildertoBuilder()TransformationToolNametoolName()The name of the tool that can be used to transform an application component using this strategy.StringtoolNameAsString()The name of the tool that can be used to transform an application component using this strategy.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
isPreferred
public final Boolean isPreferred()
Indicates if a specific strategy is preferred for the application component.
- Returns:
- Indicates if a specific strategy is preferred for the application component.
-
strategy
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,
strategywill returnStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstrategyAsString().- Returns:
- Type of transformation. For example, Rehost, Replatform, and so on.
- See Also:
Strategy
-
strategyAsString
public 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,
strategywill returnStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstrategyAsString().- Returns:
- Type of transformation. For example, Rehost, Replatform, and so on.
- See Also:
Strategy
-
targetDestination
public 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,
targetDestinationwill returnTargetDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetDestinationAsString().- Returns:
- Destination information about where the application component can migrate to. For example,
EC2,ECS, and so on. - See Also:
TargetDestination
-
targetDestinationAsString
public 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,
targetDestinationwill returnTargetDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetDestinationAsString().- Returns:
- Destination information about where the application component can migrate to. For example,
EC2,ECS, and so on. - See Also:
TargetDestination
-
toolName
public 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,
toolNamewill returnTransformationToolName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtoolNameAsString().- Returns:
- The name of the tool that can be used to transform an application component using this strategy.
- See Also:
TransformationToolName
-
toolNameAsString
public 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,
toolNamewill returnTransformationToolName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtoolNameAsString().- Returns:
- The name of the tool that can be used to transform an application component using this strategy.
- See Also:
TransformationToolName
-
toBuilder
public StrategyOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StrategyOption.Builder,StrategyOption>
-
builder
public static StrategyOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends StrategyOption.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-