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