@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StrategyOption extends Object implements Serializable, Cloneable, StructuredPojo
Information about all the available strategy options for migrating and modernizing an application component.
| Constructor and Description |
|---|
StrategyOption() |
| Modifier and Type | Method and Description |
|---|---|
StrategyOption |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsPreferred()
Indicates if a specific strategy is preferred for the application component.
|
String |
getStrategy()
Type of transformation.
|
String |
getTargetDestination()
Destination information about where the application component can migrate to.
|
String |
getToolName()
The name of the tool that can be used to transform an application component using this strategy.
|
int |
hashCode() |
Boolean |
isPreferred()
Indicates if a specific strategy is preferred for the application component.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIsPreferred(Boolean isPreferred)
Indicates if a specific strategy is preferred for the application component.
|
void |
setStrategy(String strategy)
Type of transformation.
|
void |
setTargetDestination(String targetDestination)
Destination information about where the application component can migrate to.
|
void |
setToolName(String toolName)
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.
|
StrategyOption |
withIsPreferred(Boolean isPreferred)
Indicates if a specific strategy is preferred for the application component.
|
StrategyOption |
withStrategy(Strategy strategy)
Type of transformation.
|
StrategyOption |
withStrategy(String strategy)
Type of transformation.
|
StrategyOption |
withTargetDestination(String targetDestination)
Destination information about where the application component can migrate to.
|
StrategyOption |
withTargetDestination(TargetDestination targetDestination)
Destination information about where the application component can migrate to.
|
StrategyOption |
withToolName(String toolName)
The name of the tool that can be used to transform an application component using this strategy.
|
StrategyOption |
withToolName(TransformationToolName toolName)
The name of the tool that can be used to transform an application component using this strategy.
|
public void setIsPreferred(Boolean isPreferred)
Indicates if a specific strategy is preferred for the application component.
isPreferred - Indicates if a specific strategy is preferred for the application component.public Boolean getIsPreferred()
Indicates if a specific strategy is preferred for the application component.
public StrategyOption withIsPreferred(Boolean isPreferred)
Indicates if a specific strategy is preferred for the application component.
isPreferred - Indicates if a specific strategy is preferred for the application component.public Boolean isPreferred()
Indicates if a specific strategy is preferred for the application component.
public void setStrategy(String strategy)
Type of transformation. For example, Rehost, Replatform, and so on.
strategy - Type of transformation. For example, Rehost, Replatform, and so on.Strategypublic String getStrategy()
Type of transformation. For example, Rehost, Replatform, and so on.
Strategypublic StrategyOption withStrategy(String strategy)
Type of transformation. For example, Rehost, Replatform, and so on.
strategy - Type of transformation. For example, Rehost, Replatform, and so on.Strategypublic StrategyOption withStrategy(Strategy strategy)
Type of transformation. For example, Rehost, Replatform, and so on.
strategy - Type of transformation. For example, Rehost, Replatform, and so on.Strategypublic void setTargetDestination(String targetDestination)
Destination information about where the application component can migrate to. For example, EC2,
ECS, and so on.
targetDestination - Destination information about where the application component can migrate to. For example,
EC2, ECS, and so on.TargetDestinationpublic String getTargetDestination()
Destination information about where the application component can migrate to. For example, EC2,
ECS, and so on.
EC2, ECS, and so on.TargetDestinationpublic StrategyOption withTargetDestination(String targetDestination)
Destination information about where the application component can migrate to. For example, EC2,
ECS, and so on.
targetDestination - Destination information about where the application component can migrate to. For example,
EC2, ECS, and so on.TargetDestinationpublic StrategyOption withTargetDestination(TargetDestination targetDestination)
Destination information about where the application component can migrate to. For example, EC2,
ECS, and so on.
targetDestination - Destination information about where the application component can migrate to. For example,
EC2, ECS, and so on.TargetDestinationpublic void setToolName(String toolName)
The name of the tool that can be used to transform an application component using this strategy.
toolName - The name of the tool that can be used to transform an application component using this strategy.TransformationToolNamepublic String getToolName()
The name of the tool that can be used to transform an application component using this strategy.
TransformationToolNamepublic StrategyOption withToolName(String toolName)
The name of the tool that can be used to transform an application component using this strategy.
toolName - The name of the tool that can be used to transform an application component using this strategy.TransformationToolNamepublic StrategyOption withToolName(TransformationToolName toolName)
The name of the tool that can be used to transform an application component using this strategy.
toolName - The name of the tool that can be used to transform an application component using this strategy.TransformationToolNamepublic String toString()
toString in class ObjectObject.toString()public StrategyOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.