Interface ModifyMigrationProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyMigrationProjectRequest.Builder,,ModifyMigrationProjectRequest> DatabaseMigrationRequest.Builder,SdkBuilder<ModifyMigrationProjectRequest.Builder,,ModifyMigrationProjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyMigrationProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A user-friendly description of the migration project.instanceProfileIdentifier(String instanceProfileIdentifier) The name or Amazon Resource Name (ARN) for the instance profile.migrationProjectIdentifier(String migrationProjectIdentifier) The identifier of the migration project.migrationProjectName(String migrationProjectName) A user-friendly name for the migration project.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.schemaConversionApplicationAttributes(Consumer<SCApplicationAttributes.Builder> schemaConversionApplicationAttributes) The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.schemaConversionApplicationAttributes(SCApplicationAttributes schemaConversionApplicationAttributes) The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.sourceDataProviderDescriptors(Collection<DataProviderDescriptorDefinition> sourceDataProviderDescriptors) Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.sourceDataProviderDescriptors(Consumer<DataProviderDescriptorDefinition.Builder>... sourceDataProviderDescriptors) Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.sourceDataProviderDescriptors(DataProviderDescriptorDefinition... sourceDataProviderDescriptors) Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.targetDataProviderDescriptors(Collection<DataProviderDescriptorDefinition> targetDataProviderDescriptors) Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.targetDataProviderDescriptors(Consumer<DataProviderDescriptorDefinition.Builder>... targetDataProviderDescriptors) Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.targetDataProviderDescriptors(DataProviderDescriptorDefinition... targetDataProviderDescriptors) Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.transformationRules(String transformationRules) A JSON string that specifies the transformation rules for the migration project.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
migrationProjectName
A user-friendly name for the migration project.
- Parameters:
migrationProjectName- A user-friendly name for the migration project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataProviderDescriptors
ModifyMigrationProjectRequest.Builder sourceDataProviderDescriptors(Collection<DataProviderDescriptorDefinition> sourceDataProviderDescriptors) Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
- Parameters:
sourceDataProviderDescriptors- Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataProviderDescriptors
ModifyMigrationProjectRequest.Builder sourceDataProviderDescriptors(DataProviderDescriptorDefinition... sourceDataProviderDescriptors) Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
- Parameters:
sourceDataProviderDescriptors- Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataProviderDescriptors
ModifyMigrationProjectRequest.Builder sourceDataProviderDescriptors(Consumer<DataProviderDescriptorDefinition.Builder>... sourceDataProviderDescriptors) Information about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
This is a convenience method that creates an instance of theDataProviderDescriptorDefinition.Builderavoiding the need to create one manually viaDataProviderDescriptorDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceDataProviderDescriptors(List<DataProviderDescriptorDefinition>).- Parameters:
sourceDataProviderDescriptors- a consumer that will call methods onDataProviderDescriptorDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDataProviderDescriptors
ModifyMigrationProjectRequest.Builder targetDataProviderDescriptors(Collection<DataProviderDescriptorDefinition> targetDataProviderDescriptors) Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
- Parameters:
targetDataProviderDescriptors- Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataProviderDescriptors
ModifyMigrationProjectRequest.Builder targetDataProviderDescriptors(DataProviderDescriptorDefinition... targetDataProviderDescriptors) Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
- Parameters:
targetDataProviderDescriptors- Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataProviderDescriptors
ModifyMigrationProjectRequest.Builder targetDataProviderDescriptors(Consumer<DataProviderDescriptorDefinition.Builder>... targetDataProviderDescriptors) Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
This is a convenience method that creates an instance of theDataProviderDescriptorDefinition.Builderavoiding the need to create one manually viaDataProviderDescriptorDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetDataProviderDescriptors(List<DataProviderDescriptorDefinition>).- Parameters:
targetDataProviderDescriptors- a consumer that will call methods onDataProviderDescriptorDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceProfileIdentifier
The name or Amazon Resource Name (ARN) for the instance profile.
- Parameters:
instanceProfileIdentifier- The name or Amazon Resource Name (ARN) for the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformationRules
A JSON string that specifies the transformation rules for the migration project. Transformation rules let you customize how DMS Schema Conversion converts your source database objects, including renaming, adding prefixes or suffixes, and changing data types. For the transformation rule format and examples, see Transformation rules in DMS Schema Conversion.
Homogeneous data migrations do not support transformation rules.
- Parameters:
transformationRules- A JSON string that specifies the transformation rules for the migration project. Transformation rules let you customize how DMS Schema Conversion converts your source database objects, including renaming, adding prefixes or suffixes, and changing data types. For the transformation rule format and examples, see Transformation rules in DMS Schema Conversion.Homogeneous data migrations do not support transformation rules.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A user-friendly description of the migration project.
- Parameters:
description- A user-friendly description of the migration project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaConversionApplicationAttributes
ModifyMigrationProjectRequest.Builder schemaConversionApplicationAttributes(SCApplicationAttributes schemaConversionApplicationAttributes) The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
- Parameters:
schemaConversionApplicationAttributes- The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaConversionApplicationAttributes
default ModifyMigrationProjectRequest.Builder schemaConversionApplicationAttributes(Consumer<SCApplicationAttributes.Builder> schemaConversionApplicationAttributes) The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
This is a convenience method that creates an instance of theSCApplicationAttributes.Builderavoiding the need to create one manually viaSCApplicationAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemaConversionApplicationAttributes(SCApplicationAttributes).- Parameters:
schemaConversionApplicationAttributes- a consumer that will call methods onSCApplicationAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ModifyMigrationProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyMigrationProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-