Class StrategyOption
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StrategyOption.Builder,StrategyOption>
Information about all the available strategy options for migrating and modernizing an application component.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StrategyOption.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanIndicates if a specific strategy is preferred for the application component.static Class<? extends StrategyOption.Builder> final Strategystrategy()Type of transformation.final StringType of transformation.final TargetDestinationDestination information about where the application component can migrate to.final StringDestination information about where the application component can migrate to.Take this object and create a builder that contains all of the current property values of this object.final TransformationToolNametoolName()The name of the tool that can be used to transform an application component using this strategy.final StringThe name of the tool that can be used to transform an application component using this strategy.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StrategyOption.Builder,StrategyOption> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-