public static class MigrationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MigrationSummary.Builder |
applicationName(String applicationName)
Name of the application which is being migrated from the source environment.
|
MigrationSummary.Builder |
applicationType(MigrationTypes applicationType)
The type of application being migrated.
|
MigrationSummary |
build() |
MigrationSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the migration.
|
MigrationSummary.Builder |
copy(MigrationSummary model) |
MigrationSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MigrationSummary.Builder |
description(String description)
Description of the migration.
|
MigrationSummary.Builder |
displayName(String displayName)
User-friendly name of the migration.
|
MigrationSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
MigrationSummary.Builder |
id(String id)
The OCID
of the migration.
|
MigrationSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current lifecycle state.
|
MigrationSummary.Builder |
lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the migration.
|
MigrationSummary.Builder |
migrationState(MigrationStates migrationState)
The current state of the overall migration process.
|
MigrationSummary.Builder |
sourceId(String sourceId)
The OCID
of the source.
|
MigrationSummary.Builder |
timeCreated(Date timeCreated)
The date and time at which the migration was created, in the format defined by RFC3339.
|
public MigrationSummary.Builder id(String id)
The OCID of the migration.
id
- the value to setpublic MigrationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the migration.
compartmentId
- the value to setpublic MigrationSummary.Builder displayName(String displayName)
User-friendly name of the migration.
displayName
- the value to setpublic MigrationSummary.Builder description(String description)
Description of the migration.
description
- the value to setpublic MigrationSummary.Builder timeCreated(Date timeCreated)
The date and time at which the migration was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic MigrationSummary.Builder sourceId(String sourceId)
The OCID of the source.
sourceId
- the value to setpublic MigrationSummary.Builder applicationName(String applicationName)
Name of the application which is being migrated from the source environment.
applicationName
- the value to setpublic MigrationSummary.Builder applicationType(MigrationTypes applicationType)
The type of application being migrated.
applicationType
- the value to setpublic MigrationSummary.Builder lifecycleState(MigrationLifecycleStates lifecycleState)
The current state of the migration.
lifecycleState
- the value to setpublic MigrationSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current lifecycle state.
lifecycleDetails
- the value to setpublic MigrationSummary.Builder migrationState(MigrationStates migrationState)
The current state of the overall migration process.
migrationState
- the value to setpublic MigrationSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic MigrationSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic MigrationSummary build()
public MigrationSummary.Builder copy(MigrationSummary model)
Copyright © 2016–2023. All rights reserved.