Interface MigrationWorkspace.Builder

  • Method Details

    • workspaceId

      MigrationWorkspace.Builder workspaceId(String workspaceId)

      The unique identifier of an existing workspace to use as the migration target. Specify either this parameter or createWorkspace.

      Parameters:
      workspaceId - The unique identifier of an existing workspace to use as the migration target. Specify either this parameter or createWorkspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createWorkspace

      MigrationWorkspace.Builder createWorkspace(Boolean createWorkspace)

      Specifies whether to create a new workspace as the migration target. If true, you must also specify name.

      Parameters:
      createWorkspace - Specifies whether to create a new workspace as the migration target. If true, you must also specify name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the new workspace to create. Required when createWorkspace is true.

      Parameters:
      name - The name of the new workspace to create. Required when createWorkspace is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the new workspace to create.

      Parameters:
      type - The type of the new workspace to create.
      Returns:
      Returns a reference to this object so that method calls can be chained together.