Interface MigrationWorkspace.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationWorkspace.Builder,,MigrationWorkspace> SdkBuilder<MigrationWorkspace.Builder,,MigrationWorkspace> SdkPojo
- Enclosing class:
MigrationWorkspace
@Mutable
@NotThreadSafe
public static interface MigrationWorkspace.Builder
extends SdkPojo, CopyableBuilder<MigrationWorkspace.Builder,MigrationWorkspace>
-
Method Summary
Modifier and TypeMethodDescriptioncreateWorkspace(Boolean createWorkspace) Specifies whether to create a new workspace as the migration target.The name of the new workspace to create.The type of the new workspace to create.workspaceId(String workspaceId) The unique identifier of an existing workspace to use as the migration target.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
-
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 orcreateWorkspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createWorkspace
Specifies whether to create a new workspace as the migration target. If
true, you must also specifyname.- Parameters:
createWorkspace- Specifies whether to create a new workspace as the migration target. Iftrue, you must also specifyname.- 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
createWorkspaceistrue.- Parameters:
name- The name of the new workspace to create. Required whencreateWorkspaceistrue.- 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.
-