@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.Strategy
public String getStrategy()
Type of transformation. For example, Rehost, Replatform, and so on.
Strategy
public 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.Strategy
public 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.Strategy
public 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.TargetDestination
public String getTargetDestination()
Destination information about where the application component can migrate to. For example, EC2
,
ECS
, and so on.
EC2
, ECS
, and so on.TargetDestination
public 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.TargetDestination
public 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.TargetDestination
public 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.TransformationToolName
public String getToolName()
The name of the tool that can be used to transform an application component using this strategy.
TransformationToolName
public 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.TransformationToolName
public 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.TransformationToolName
public String toString()
toString
in class Object
Object.toString()
public StrategyOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.