Class CfnNetworkMigrationDefinitionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mgn.CfnNetworkMigrationDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkMigrationDefinitionMixinProps>
- Enclosing interface:
CfnNetworkMigrationDefinitionMixinProps
@Stability(Stable)
public static final class CfnNetworkMigrationDefinitionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkMigrationDefinitionMixinProps>
A builder for
CfnNetworkMigrationDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getDescription()Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getName()Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getScopeTags()scopeTags(IResolvable scopeTags) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getScopeTags()sourceConfigurations(List<? extends Object> sourceConfigurations) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getSourceConfigurations()sourceConfigurations(IResolvable sourceConfigurations) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getSourceConfigurations()Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTags()targetDeployment(String targetDeployment) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetDeployment()Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetNetwork()targetNetwork(IResolvable targetNetwork) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetNetwork()targetS3Configuration(CfnNetworkMigrationDefinitionPropsMixin.TargetS3ConfigurationProperty targetS3Configuration) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetS3Configuration()targetS3Configuration(IResolvable targetS3Configuration) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetS3Configuration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder description(String description) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getDescription()- Parameters:
description- A description of the network migration definition.- Returns:
this
-
name
Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getName()- Parameters:
name- The name of the network migration definition.- Returns:
this
-
scopeTags
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder scopeTags(IResolvable scopeTags) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getScopeTags()- Parameters:
scopeTags- Scope tags map for the network migration definition.- Returns:
this
-
scopeTags
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder scopeTags(Map<String, String> scopeTags) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getScopeTags()- Parameters:
scopeTags- Scope tags map for the network migration definition.- Returns:
this
-
sourceConfigurations
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder sourceConfigurations(IResolvable sourceConfigurations) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getSourceConfigurations()- Parameters:
sourceConfigurations- A list of source configurations for the network migration.- Returns:
this
-
sourceConfigurations
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder sourceConfigurations(List<? extends Object> sourceConfigurations) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getSourceConfigurations()- Parameters:
sourceConfigurations- A list of source configurations for the network migration.- Returns:
this
-
tags
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTags()- Parameters:
tags- Tags to assign to the network migration definition.- Returns:
this
-
targetDeployment
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder targetDeployment(String targetDeployment) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetDeployment()- Parameters:
targetDeployment- The target deployment configuration for the migrated network.- Returns:
this
-
targetNetwork
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder targetNetwork(IResolvable targetNetwork) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetNetwork()- Parameters:
targetNetwork- Configuration for the target network topology and addressing.- Returns:
this
-
targetNetwork
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder targetNetwork(CfnNetworkMigrationDefinitionPropsMixin.TargetNetworkProperty targetNetwork) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetNetwork()- Parameters:
targetNetwork- Configuration for the target network topology and addressing.- Returns:
this
-
targetS3Configuration
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder targetS3Configuration(IResolvable targetS3Configuration) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetS3Configuration()- Parameters:
targetS3Configuration- S3 configuration for storing target network artifacts.- Returns:
this
-
targetS3Configuration
@Stability(Stable) public CfnNetworkMigrationDefinitionMixinProps.Builder targetS3Configuration(CfnNetworkMigrationDefinitionPropsMixin.TargetS3ConfigurationProperty targetS3Configuration) Sets the value ofCfnNetworkMigrationDefinitionMixinProps.getTargetS3Configuration()- Parameters:
targetS3Configuration- S3 configuration for storing target network artifacts.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkMigrationDefinitionMixinProps>- Returns:
- a new instance of
CfnNetworkMigrationDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-