public static class MigrationPlan.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MigrationPlan |
build() |
MigrationPlan.Builder |
calculatedLimits(Map<String,Integer> calculatedLimits)
Limits of the resources that are needed for migration.
|
MigrationPlan.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the migration plan.
|
MigrationPlan.Builder |
copy(MigrationPlan model) |
MigrationPlan.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MigrationPlan.Builder |
displayName(String displayName)
A user-friendly name.
|
MigrationPlan.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MigrationPlan.Builder |
id(String id)
The unique Oracle ID (OCID) that is immutable on creation.
|
MigrationPlan.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
MigrationPlan.Builder |
lifecycleState(MigrationPlan.LifecycleState lifecycleState)
The current state of the migration plan.
|
MigrationPlan.Builder |
migrationId(String migrationId)
The OCID of the associated migration.
|
MigrationPlan.Builder |
migrationPlanStats(MigrationPlanStats migrationPlanStats) |
MigrationPlan.Builder |
referenceToRmsStack(String referenceToRmsStack)
OCID of the referenced ORM job.
|
MigrationPlan.Builder |
sourceMigrationPlanId(String sourceMigrationPlanId)
Source migraiton plan ID to be cloned.
|
MigrationPlan.Builder |
strategies(List<ResourceAssessmentStrategy> strategies)
List of strategies for the resources to be migrated.
|
MigrationPlan.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MigrationPlan.Builder |
targetEnvironments(List<TargetEnvironment> targetEnvironments)
List of target environments.
|
MigrationPlan.Builder |
timeCreated(Date timeCreated)
The time when the migration plan was created.
|
MigrationPlan.Builder |
timeUpdated(Date timeUpdated)
The time when the migration plan was updated.
|
public MigrationPlan.Builder id(String id)
The unique Oracle ID (OCID) that is immutable on creation.
id
- the value to setpublic MigrationPlan.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the migration plan.
compartmentId
- the value to setpublic MigrationPlan.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic MigrationPlan.Builder timeCreated(Date timeCreated)
The time when the migration plan was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MigrationPlan.Builder timeUpdated(Date timeUpdated)
The time when the migration plan was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MigrationPlan.Builder lifecycleState(MigrationPlan.LifecycleState lifecycleState)
The current state of the migration plan.
lifecycleState
- the value to setpublic MigrationPlan.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic MigrationPlan.Builder migrationId(String migrationId)
The OCID of the associated migration.
migrationId
- the value to setpublic MigrationPlan.Builder strategies(List<ResourceAssessmentStrategy> strategies)
List of strategies for the resources to be migrated.
strategies
- the value to setpublic MigrationPlan.Builder migrationPlanStats(MigrationPlanStats migrationPlanStats)
public MigrationPlan.Builder calculatedLimits(Map<String,Integer> calculatedLimits)
Limits of the resources that are needed for migration. Example: {“BlockVolume”: 2, “VCN”: 1}
calculatedLimits
- the value to setpublic MigrationPlan.Builder targetEnvironments(List<TargetEnvironment> targetEnvironments)
List of target environments.
targetEnvironments
- the value to setpublic MigrationPlan.Builder referenceToRmsStack(String referenceToRmsStack)
OCID of the referenced ORM job.
referenceToRmsStack
- the value to setpublic MigrationPlan.Builder sourceMigrationPlanId(String sourceMigrationPlanId)
Source migraiton plan ID to be cloned.
sourceMigrationPlanId
- the value to setpublic MigrationPlan.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. It
exists only for cross-compatibility. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic MigrationPlan.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic MigrationPlan.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic MigrationPlan build()
public MigrationPlan.Builder copy(MigrationPlan model)
Copyright © 2016–2024. All rights reserved.