Class CfnMigrationProjectProps.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnMigrationProjectProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMigrationProjectProps>
- Enclosing interface:
CfnMigrationProjectProps
@Stability(Stable)
public static final class CfnMigrationProjectProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMigrationProjectProps>
A builder for
CfnMigrationProjectProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnMigrationProjectProps.getDescription()
instanceProfileArn
(String instanceProfileArn) Sets the value ofCfnMigrationProjectProps.getInstanceProfileArn()
instanceProfileIdentifier
(String instanceProfileIdentifier) Sets the value ofCfnMigrationProjectProps.getInstanceProfileIdentifier()
instanceProfileName
(String instanceProfileName) Sets the value ofCfnMigrationProjectProps.getInstanceProfileName()
migrationProjectCreationTime
(String migrationProjectCreationTime) Deprecated.this property has been deprecatedmigrationProjectIdentifier
(String migrationProjectIdentifier) Sets the value ofCfnMigrationProjectProps.getMigrationProjectIdentifier()
migrationProjectName
(String migrationProjectName) Sets the value ofCfnMigrationProjectProps.getMigrationProjectName()
schemaConversionApplicationAttributes
(IResolvable schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectProps.getSchemaConversionApplicationAttributes()
schemaConversionApplicationAttributes
(CfnMigrationProject.SchemaConversionApplicationAttributesProperty schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectProps.getSchemaConversionApplicationAttributes()
sourceDataProviderDescriptors
(List<? extends Object> sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getSourceDataProviderDescriptors()
sourceDataProviderDescriptors
(IResolvable sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getSourceDataProviderDescriptors()
Sets the value ofCfnMigrationProjectProps.getTags()
targetDataProviderDescriptors
(List<? extends Object> targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getTargetDataProviderDescriptors()
targetDataProviderDescriptors
(IResolvable targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getTargetDataProviderDescriptors()
transformationRules
(String transformationRules) Sets the value ofCfnMigrationProjectProps.getTransformationRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnMigrationProjectProps.getDescription()
- Parameters:
description
- A user-friendly description of the migration project.- Returns:
this
-
instanceProfileArn
@Stability(Stable) public CfnMigrationProjectProps.Builder instanceProfileArn(String instanceProfileArn) Sets the value ofCfnMigrationProjectProps.getInstanceProfileArn()
- Parameters:
instanceProfileArn
- The Amazon Resource Name (ARN) of the instance profile for your migration project.- Returns:
this
-
instanceProfileIdentifier
@Stability(Stable) public CfnMigrationProjectProps.Builder instanceProfileIdentifier(String instanceProfileIdentifier) Sets the value ofCfnMigrationProjectProps.getInstanceProfileIdentifier()
- Parameters:
instanceProfileIdentifier
- The identifier of the instance profile for your migration project.- Returns:
this
-
instanceProfileName
@Stability(Stable) public CfnMigrationProjectProps.Builder instanceProfileName(String instanceProfileName) Sets the value ofCfnMigrationProjectProps.getInstanceProfileName()
- Parameters:
instanceProfileName
- The name of the associated instance profile.- Returns:
this
-
migrationProjectCreationTime
@Stability(Deprecated) @Deprecated public CfnMigrationProjectProps.Builder migrationProjectCreationTime(String migrationProjectCreationTime) Deprecated.this property has been deprecatedSets the value ofCfnMigrationProjectProps.getMigrationProjectCreationTime()
- Parameters:
migrationProjectCreationTime
- The property describes a creating time of the migration project.- Returns:
this
-
migrationProjectIdentifier
@Stability(Stable) public CfnMigrationProjectProps.Builder migrationProjectIdentifier(String migrationProjectIdentifier) Sets the value ofCfnMigrationProjectProps.getMigrationProjectIdentifier()
- Parameters:
migrationProjectIdentifier
- The identifier of the migration project. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.- Returns:
this
-
migrationProjectName
@Stability(Stable) public CfnMigrationProjectProps.Builder migrationProjectName(String migrationProjectName) Sets the value ofCfnMigrationProjectProps.getMigrationProjectName()
- Parameters:
migrationProjectName
- The name of the migration project.- Returns:
this
-
schemaConversionApplicationAttributes
@Stability(Stable) public CfnMigrationProjectProps.Builder schemaConversionApplicationAttributes(IResolvable schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectProps.getSchemaConversionApplicationAttributes()
- Parameters:
schemaConversionApplicationAttributes
- The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.- Returns:
this
-
schemaConversionApplicationAttributes
@Stability(Stable) public CfnMigrationProjectProps.Builder schemaConversionApplicationAttributes(CfnMigrationProject.SchemaConversionApplicationAttributesProperty schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectProps.getSchemaConversionApplicationAttributes()
- Parameters:
schemaConversionApplicationAttributes
- The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.- Returns:
this
-
sourceDataProviderDescriptors
@Stability(Stable) public CfnMigrationProjectProps.Builder sourceDataProviderDescriptors(IResolvable sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getSourceDataProviderDescriptors()
- Parameters:
sourceDataProviderDescriptors
- Information about the source data provider, including the name or ARN, and AWS Secrets Manager parameters.- Returns:
this
-
sourceDataProviderDescriptors
@Stability(Stable) public CfnMigrationProjectProps.Builder sourceDataProviderDescriptors(List<? extends Object> sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getSourceDataProviderDescriptors()
- Parameters:
sourceDataProviderDescriptors
- Information about the source data provider, including the name or ARN, and AWS Secrets Manager parameters.- Returns:
this
-
tags
Sets the value ofCfnMigrationProjectProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource.- Returns:
this
-
targetDataProviderDescriptors
@Stability(Stable) public CfnMigrationProjectProps.Builder targetDataProviderDescriptors(IResolvable targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getTargetDataProviderDescriptors()
- Parameters:
targetDataProviderDescriptors
- Information about the target data provider, including the name or ARN, and AWS Secrets Manager parameters.- Returns:
this
-
targetDataProviderDescriptors
@Stability(Stable) public CfnMigrationProjectProps.Builder targetDataProviderDescriptors(List<? extends Object> targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectProps.getTargetDataProviderDescriptors()
- Parameters:
targetDataProviderDescriptors
- Information about the target data provider, including the name or ARN, and AWS Secrets Manager parameters.- Returns:
this
-
transformationRules
@Stability(Stable) public CfnMigrationProjectProps.Builder transformationRules(String transformationRules) Sets the value ofCfnMigrationProjectProps.getTransformationRules()
- Parameters:
transformationRules
- The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMigrationProjectProps>
- Returns:
- a new instance of
CfnMigrationProjectProps
- Throws:
NullPointerException
- if any required attribute was not provided
-