Class CfnMigrationProjectMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnMigrationProjectMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMigrationProjectMixinProps>
- Enclosing interface:
CfnMigrationProjectMixinProps
@Stability(Stable)
public static final class CfnMigrationProjectMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMigrationProjectMixinProps>
A builder for
CfnMigrationProjectMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnMigrationProjectMixinProps.getDescription()instanceProfileArn(String instanceProfileArn) Sets the value ofCfnMigrationProjectMixinProps.getInstanceProfileArn()instanceProfileIdentifier(String instanceProfileIdentifier) Sets the value ofCfnMigrationProjectMixinProps.getInstanceProfileIdentifier()instanceProfileName(String instanceProfileName) Sets the value ofCfnMigrationProjectMixinProps.getInstanceProfileName()migrationProjectCreationTime(String migrationProjectCreationTime) Deprecated.this property has been deprecatedmigrationProjectIdentifier(String migrationProjectIdentifier) Sets the value ofCfnMigrationProjectMixinProps.getMigrationProjectIdentifier()migrationProjectName(String migrationProjectName) Sets the value ofCfnMigrationProjectMixinProps.getMigrationProjectName()schemaConversionApplicationAttributes(CfnMigrationProjectPropsMixin.SchemaConversionApplicationAttributesProperty schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectMixinProps.getSchemaConversionApplicationAttributes()schemaConversionApplicationAttributes(IResolvable schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectMixinProps.getSchemaConversionApplicationAttributes()sourceDataProviderDescriptors(List<? extends Object> sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.getSourceDataProviderDescriptors()sourceDataProviderDescriptors(IResolvable sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.getSourceDataProviderDescriptors()Sets the value ofCfnMigrationProjectMixinProps.getTags()targetDataProviderDescriptors(List<? extends Object> targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.getTargetDataProviderDescriptors()targetDataProviderDescriptors(IResolvable targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.getTargetDataProviderDescriptors()transformationRules(String transformationRules) Sets the value ofCfnMigrationProjectMixinProps.getTransformationRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnMigrationProjectMixinProps.getDescription()- Parameters:
description- A user-friendly description of the migration project.- Returns:
this
-
instanceProfileArn
@Stability(Stable) public CfnMigrationProjectMixinProps.Builder instanceProfileArn(String instanceProfileArn) Sets the value ofCfnMigrationProjectMixinProps.getInstanceProfileArn()- Parameters:
instanceProfileArn- The Amazon Resource Name (ARN) of the instance profile for your migration project.- Returns:
this
-
instanceProfileIdentifier
@Stability(Stable) public CfnMigrationProjectMixinProps.Builder instanceProfileIdentifier(String instanceProfileIdentifier) Sets the value ofCfnMigrationProjectMixinProps.getInstanceProfileIdentifier()- Parameters:
instanceProfileIdentifier- The identifier of the instance profile for your migration project.- Returns:
this
-
instanceProfileName
@Stability(Stable) public CfnMigrationProjectMixinProps.Builder instanceProfileName(String instanceProfileName) Sets the value ofCfnMigrationProjectMixinProps.getInstanceProfileName()- Parameters:
instanceProfileName- The name of the associated instance profile.- Returns:
this
-
migrationProjectCreationTime
@Stability(Deprecated) @Deprecated public CfnMigrationProjectMixinProps.Builder migrationProjectCreationTime(String migrationProjectCreationTime) Deprecated.this property has been deprecatedSets the value ofCfnMigrationProjectMixinProps.getMigrationProjectCreationTime()- Parameters:
migrationProjectCreationTime- The property describes a creating time of the migration project.- Returns:
this
-
migrationProjectIdentifier
@Stability(Stable) public CfnMigrationProjectMixinProps.Builder migrationProjectIdentifier(String migrationProjectIdentifier) Sets the value ofCfnMigrationProjectMixinProps.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 CfnMigrationProjectMixinProps.Builder migrationProjectName(String migrationProjectName) Sets the value ofCfnMigrationProjectMixinProps.getMigrationProjectName()- Parameters:
migrationProjectName- The name of the migration project.- Returns:
this
-
schemaConversionApplicationAttributes
@Stability(Stable) public CfnMigrationProjectMixinProps.Builder schemaConversionApplicationAttributes(IResolvable schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectMixinProps.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 CfnMigrationProjectMixinProps.Builder schemaConversionApplicationAttributes(CfnMigrationProjectPropsMixin.SchemaConversionApplicationAttributesProperty schemaConversionApplicationAttributes) Sets the value ofCfnMigrationProjectMixinProps.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 CfnMigrationProjectMixinProps.Builder sourceDataProviderDescriptors(IResolvable sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.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 CfnMigrationProjectMixinProps.Builder sourceDataProviderDescriptors(List<? extends Object> sourceDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.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 ofCfnMigrationProjectMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
targetDataProviderDescriptors
@Stability(Stable) public CfnMigrationProjectMixinProps.Builder targetDataProviderDescriptors(IResolvable targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.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 CfnMigrationProjectMixinProps.Builder targetDataProviderDescriptors(List<? extends Object> targetDataProviderDescriptors) Sets the value ofCfnMigrationProjectMixinProps.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 CfnMigrationProjectMixinProps.Builder transformationRules(String transformationRules) Sets the value ofCfnMigrationProjectMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnMigrationProjectMixinProps>- Returns:
- a new instance of
CfnMigrationProjectMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-