Interface MigrationProject.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationProject.Builder,MigrationProject>,SdkBuilder<MigrationProject.Builder,MigrationProject>,SdkPojo
- Enclosing class:
- MigrationProject
public static interface MigrationProject.Builder extends SdkPojo, CopyableBuilder<MigrationProject.Builder,MigrationProject>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MigrationProject.Builderdescription(String description)A user-friendly description of the migration project.MigrationProject.BuilderinstanceProfileArn(String instanceProfileArn)The Amazon Resource Name (ARN) of the instance profile for your migration project.MigrationProject.BuilderinstanceProfileName(String instanceProfileName)The name of the associated instance profile.MigrationProject.BuildermigrationProjectArn(String migrationProjectArn)The ARN string that uniquely identifies the migration project.MigrationProject.BuildermigrationProjectCreationTime(Instant migrationProjectCreationTime)The time when the migration project was created.MigrationProject.BuildermigrationProjectName(String migrationProjectName)The name of the migration project.default MigrationProject.BuilderschemaConversionApplicationAttributes(Consumer<SCApplicationAttributes.Builder> schemaConversionApplicationAttributes)The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.MigrationProject.BuilderschemaConversionApplicationAttributes(SCApplicationAttributes schemaConversionApplicationAttributes)The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.MigrationProject.BuildersourceDataProviderDescriptors(Collection<DataProviderDescriptor> sourceDataProviderDescriptors)Information about the source data provider, including the name or ARN, and Secrets Manager parameters.MigrationProject.BuildersourceDataProviderDescriptors(Consumer<DataProviderDescriptor.Builder>... sourceDataProviderDescriptors)Information about the source data provider, including the name or ARN, and Secrets Manager parameters.MigrationProject.BuildersourceDataProviderDescriptors(DataProviderDescriptor... sourceDataProviderDescriptors)Information about the source data provider, including the name or ARN, and Secrets Manager parameters.MigrationProject.BuildertargetDataProviderDescriptors(Collection<DataProviderDescriptor> targetDataProviderDescriptors)Information about the target data provider, including the name or ARN, and Secrets Manager parameters.MigrationProject.BuildertargetDataProviderDescriptors(Consumer<DataProviderDescriptor.Builder>... targetDataProviderDescriptors)Information about the target data provider, including the name or ARN, and Secrets Manager parameters.MigrationProject.BuildertargetDataProviderDescriptors(DataProviderDescriptor... targetDataProviderDescriptors)Information about the target data provider, including the name or ARN, and Secrets Manager parameters.MigrationProject.BuildertransformationRules(String transformationRules)The settings in JSON format for migration rules.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
migrationProjectName
MigrationProject.Builder migrationProjectName(String migrationProjectName)
The name of the migration project.
- Parameters:
migrationProjectName- The name of the migration project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationProjectArn
MigrationProject.Builder migrationProjectArn(String migrationProjectArn)
The ARN string that uniquely identifies the migration project.
- Parameters:
migrationProjectArn- The ARN string that uniquely identifies the migration project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationProjectCreationTime
MigrationProject.Builder migrationProjectCreationTime(Instant migrationProjectCreationTime)
The time when the migration project was created.
- Parameters:
migrationProjectCreationTime- The time when the migration project was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataProviderDescriptors
MigrationProject.Builder sourceDataProviderDescriptors(Collection<DataProviderDescriptor> sourceDataProviderDescriptors)
Information about the source data provider, including the name or ARN, and Secrets Manager parameters.
- Parameters:
sourceDataProviderDescriptors- Information about the source data provider, including the name or ARN, and Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataProviderDescriptors
MigrationProject.Builder sourceDataProviderDescriptors(DataProviderDescriptor... sourceDataProviderDescriptors)
Information about the source data provider, including the name or ARN, and Secrets Manager parameters.
- Parameters:
sourceDataProviderDescriptors- Information about the source data provider, including the name or ARN, and Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataProviderDescriptors
MigrationProject.Builder sourceDataProviderDescriptors(Consumer<DataProviderDescriptor.Builder>... sourceDataProviderDescriptors)
Information about the source data provider, including the name or ARN, and Secrets Manager parameters.
This is a convenience method that creates an instance of theDataProviderDescriptor.Builderavoiding the need to create one manually viaDataProviderDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourceDataProviderDescriptors(List.) - Parameters:
sourceDataProviderDescriptors- a consumer that will call methods onDataProviderDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sourceDataProviderDescriptors(java.util.Collection)
-
targetDataProviderDescriptors
MigrationProject.Builder targetDataProviderDescriptors(Collection<DataProviderDescriptor> targetDataProviderDescriptors)
Information about the target data provider, including the name or ARN, and Secrets Manager parameters.
- Parameters:
targetDataProviderDescriptors- Information about the target data provider, including the name or ARN, and Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataProviderDescriptors
MigrationProject.Builder targetDataProviderDescriptors(DataProviderDescriptor... targetDataProviderDescriptors)
Information about the target data provider, including the name or ARN, and Secrets Manager parameters.
- Parameters:
targetDataProviderDescriptors- Information about the target data provider, including the name or ARN, and Secrets Manager parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDataProviderDescriptors
MigrationProject.Builder targetDataProviderDescriptors(Consumer<DataProviderDescriptor.Builder>... targetDataProviderDescriptors)
Information about the target data provider, including the name or ARN, and Secrets Manager parameters.
This is a convenience method that creates an instance of theDataProviderDescriptor.Builderavoiding the need to create one manually viaDataProviderDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetDataProviderDescriptors(List.) - Parameters:
targetDataProviderDescriptors- a consumer that will call methods onDataProviderDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targetDataProviderDescriptors(java.util.Collection)
-
instanceProfileArn
MigrationProject.Builder instanceProfileArn(String instanceProfileArn)
The Amazon Resource Name (ARN) of the instance profile for your migration project.
- Parameters:
instanceProfileArn- The Amazon Resource Name (ARN) of the instance profile for your migration project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfileName
MigrationProject.Builder instanceProfileName(String instanceProfileName)
The name of the associated instance profile.
- Parameters:
instanceProfileName- The name of the associated instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformationRules
MigrationProject.Builder transformationRules(String 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
description
MigrationProject.Builder description(String 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
MigrationProject.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 MigrationProject.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:
schemaConversionApplicationAttributes(SCApplicationAttributes)
-
-