Interface MigrationOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationOptions.Builder,,MigrationOptions> SdkBuilder<MigrationOptions.Builder,,MigrationOptions> SdkPojo
- Enclosing class:
MigrationOptions
-
Method Summary
Modifier and TypeMethodDescriptionconflictResolution(String conflictResolution) The strategy for resolving conflicts when saved objects already exist in the target workspace.default MigrationOptions.BuilderexportOptions(Consumer<ExportOptions.Builder> exportOptions) Options to filter the scope of saved objects to export from the source.exportOptions(ExportOptions exportOptions) Options to filter the scope of saved objects to export from the source.default MigrationOptions.Buildersource(Consumer<MigrationSource.Builder> source) The data source from which to export saved objects.source(MigrationSource source) The data source from which to export saved objects.default MigrationOptions.Builderworkspace(Consumer<MigrationWorkspace.Builder> workspace) The target workspace configuration for importing saved objects.workspace(MigrationWorkspace workspace) The target workspace configuration for importing saved objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
The data source from which to export saved objects.
- Parameters:
source- The data source from which to export saved objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The data source from which to export saved objects.
This is a convenience method that creates an instance of theMigrationSource.Builderavoiding the need to create one manually viaMigrationSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(MigrationSource).- Parameters:
source- a consumer that will call methods onMigrationSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workspace
The target workspace configuration for importing saved objects. You can specify an existing workspace or request creation of a new workspace.
- Parameters:
workspace- The target workspace configuration for importing saved objects. You can specify an existing workspace or request creation of a new workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspace
The target workspace configuration for importing saved objects. You can specify an existing workspace or request creation of a new workspace.
This is a convenience method that creates an instance of theMigrationWorkspace.Builderavoiding the need to create one manually viaMigrationWorkspace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspace(MigrationWorkspace).- Parameters:
workspace- a consumer that will call methods onMigrationWorkspace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportOptions
Options to filter the scope of saved objects to export from the source.
- Parameters:
exportOptions- Options to filter the scope of saved objects to export from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportOptions
Options to filter the scope of saved objects to export from the source.
This is a convenience method that creates an instance of theExportOptions.Builderavoiding the need to create one manually viaExportOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexportOptions(ExportOptions).- Parameters:
exportOptions- a consumer that will call methods onExportOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conflictResolution
The strategy for resolving conflicts when saved objects already exist in the target workspace. Valid values are
CREATE_NEW_COPIES, which creates new objects with unique IDs, andoverwrite, which replaces existing objects.- Parameters:
conflictResolution- The strategy for resolving conflicts when saved objects already exist in the target workspace. Valid values areCREATE_NEW_COPIES, which creates new objects with unique IDs, andoverwrite, which replaces existing objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-