#[non_exhaustive]pub struct StrategyOptionBuilder { /* private fields */ }Expand description
A builder for StrategyOption.
Implementations§
source§impl StrategyOptionBuilder
impl StrategyOptionBuilder
sourcepub fn strategy(self, input: Strategy) -> Self
pub fn strategy(self, input: Strategy) -> Self
Type of transformation. For example, Rehost, Replatform, and so on.
sourcepub fn set_strategy(self, input: Option<Strategy>) -> Self
pub fn set_strategy(self, input: Option<Strategy>) -> Self
Type of transformation. For example, Rehost, Replatform, and so on.
sourcepub fn get_strategy(&self) -> &Option<Strategy>
pub fn get_strategy(&self) -> &Option<Strategy>
Type of transformation. For example, Rehost, Replatform, and so on.
sourcepub fn tool_name(self, input: TransformationToolName) -> Self
pub fn tool_name(self, input: TransformationToolName) -> Self
The name of the tool that can be used to transform an application component using this strategy.
sourcepub fn set_tool_name(self, input: Option<TransformationToolName>) -> Self
pub fn set_tool_name(self, input: Option<TransformationToolName>) -> Self
The name of the tool that can be used to transform an application component using this strategy.
sourcepub fn get_tool_name(&self) -> &Option<TransformationToolName>
pub fn get_tool_name(&self) -> &Option<TransformationToolName>
The name of the tool that can be used to transform an application component using this strategy.
sourcepub fn target_destination(self, input: TargetDestination) -> Self
pub fn target_destination(self, input: TargetDestination) -> Self
Destination information about where the application component can migrate to. For example, EC2, ECS, and so on.
sourcepub fn set_target_destination(self, input: Option<TargetDestination>) -> Self
pub fn set_target_destination(self, input: Option<TargetDestination>) -> Self
Destination information about where the application component can migrate to. For example, EC2, ECS, and so on.
sourcepub fn get_target_destination(&self) -> &Option<TargetDestination>
pub fn get_target_destination(&self) -> &Option<TargetDestination>
Destination information about where the application component can migrate to. For example, EC2, ECS, and so on.
sourcepub fn is_preferred(self, input: bool) -> Self
pub fn is_preferred(self, input: bool) -> Self
Indicates if a specific strategy is preferred for the application component.
sourcepub fn set_is_preferred(self, input: Option<bool>) -> Self
pub fn set_is_preferred(self, input: Option<bool>) -> Self
Indicates if a specific strategy is preferred for the application component.
sourcepub fn get_is_preferred(&self) -> &Option<bool>
pub fn get_is_preferred(&self) -> &Option<bool>
Indicates if a specific strategy is preferred for the application component.
sourcepub fn build(self) -> StrategyOption
pub fn build(self) -> StrategyOption
Consumes the builder and constructs a StrategyOption.
Trait Implementations§
source§impl Clone for StrategyOptionBuilder
impl Clone for StrategyOptionBuilder
source§fn clone(&self) -> StrategyOptionBuilder
fn clone(&self) -> StrategyOptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StrategyOptionBuilder
impl Debug for StrategyOptionBuilder
source§impl Default for StrategyOptionBuilder
impl Default for StrategyOptionBuilder
source§fn default() -> StrategyOptionBuilder
fn default() -> StrategyOptionBuilder
source§impl PartialEq for StrategyOptionBuilder
impl PartialEq for StrategyOptionBuilder
source§fn eq(&self, other: &StrategyOptionBuilder) -> bool
fn eq(&self, other: &StrategyOptionBuilder) -> bool
self and other values to be equal, and is used
by ==.