public static class MigrationAssetSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MigrationAssetSummary |
build() |
MigrationAssetSummary.Builder |
compartmentId(String compartmentId)
Compartment identifier
|
MigrationAssetSummary.Builder |
copy(MigrationAssetSummary model) |
MigrationAssetSummary.Builder |
dependedOnBy(List<String> dependedOnBy)
List of migration assets that depend on this asset.
|
MigrationAssetSummary.Builder |
dependsOn(List<String> dependsOn)
List of migration assets that depend on this asset.
|
MigrationAssetSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
MigrationAssetSummary.Builder |
id(String id)
The asset ID generated by the mirgration service.
|
MigrationAssetSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
MigrationAssetSummary.Builder |
lifecycleState(MigrationAsset.LifecycleState lifecycleState)
The current state of the migration asset.
|
MigrationAssetSummary.Builder |
migrationId(String migrationId)
OCID of the associated migration.
|
MigrationAssetSummary.Builder |
notifications(List<MigrationAssetSummary.Notifications> notifications)
List of notifications.
|
MigrationAssetSummary.Builder |
parentSnapshot(String parentSnapshot)
The parent snapshot of the mgration asset to be used by the replication task.
|
MigrationAssetSummary.Builder |
replicationScheduleId(String replicationScheduleId)
Replication schedule identifier
|
MigrationAssetSummary.Builder |
snapshotInfo(String snapshotInfo)
The snapshot information.
|
MigrationAssetSummary.Builder |
snapshots(Map<String,HydratedVolume> snapshots)
Key-value pair representing disk’s ID that is mapped to the OCIDs of replicated/hydration
server volume snapshots.
|
MigrationAssetSummary.Builder |
sourceAssetData(Map<String,Object> sourceAssetData)
Key-value pair representing asset metadata keys and values scoped to a namespace.
|
MigrationAssetSummary.Builder |
sourceAssetId(String sourceAssetId)
OCID that is referenced to an asset, for an inventory.
|
MigrationAssetSummary.Builder |
tenancyId(String tenancyId)
Tenancy Identifier
|
MigrationAssetSummary.Builder |
timeCreated(Date timeCreated)
The time when the migration asset was created.
|
MigrationAssetSummary.Builder |
timeUpdated(Date timeUpdated)
The time when the migration asset was updated.
|
MigrationAssetSummary.Builder |
type(String type)
The type of asset referenced for an inventory.
|
public MigrationAssetSummary.Builder id(String id)
The asset ID generated by the mirgration service. It is used in the migration service pipeline.
id
- the value to setpublic MigrationAssetSummary.Builder type(String type)
The type of asset referenced for an inventory.
type
- the value to setpublic MigrationAssetSummary.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 MigrationAssetSummary.Builder compartmentId(String compartmentId)
Compartment identifier
compartmentId
- the value to setpublic MigrationAssetSummary.Builder lifecycleState(MigrationAsset.LifecycleState lifecycleState)
The current state of the migration asset.
lifecycleState
- the value to setpublic MigrationAssetSummary.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 MigrationAssetSummary.Builder timeCreated(Date timeCreated)
The time when the migration asset was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MigrationAssetSummary.Builder timeUpdated(Date timeUpdated)
The time when the migration asset was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MigrationAssetSummary.Builder migrationId(String migrationId)
OCID of the associated migration.
migrationId
- the value to setpublic MigrationAssetSummary.Builder snapshots(Map<String,HydratedVolume> snapshots)
Key-value pair representing disk’s ID that is mapped to the OCIDs of replicated/hydration
server volume snapshots. Example: {"bar-key": "value"}
snapshots
- the value to setpublic MigrationAssetSummary.Builder parentSnapshot(String parentSnapshot)
The parent snapshot of the mgration asset to be used by the replication task.
parentSnapshot
- the value to setpublic MigrationAssetSummary.Builder snapshotInfo(String snapshotInfo)
The snapshot information.
snapshotInfo
- the value to setpublic MigrationAssetSummary.Builder sourceAssetData(Map<String,Object> sourceAssetData)
Key-value pair representing asset metadata keys and values scoped to a namespace.
Example: {"bar-key": "value"}
sourceAssetData
- the value to setpublic MigrationAssetSummary.Builder notifications(List<MigrationAssetSummary.Notifications> notifications)
List of notifications.
notifications
- the value to setpublic MigrationAssetSummary.Builder sourceAssetId(String sourceAssetId)
OCID that is referenced to an asset, for an inventory.
sourceAssetId
- the value to setpublic MigrationAssetSummary.Builder dependedOnBy(List<String> dependedOnBy)
List of migration assets that depend on this asset.
dependedOnBy
- the value to setpublic MigrationAssetSummary.Builder dependsOn(List<String> dependsOn)
List of migration assets that depend on this asset.
dependsOn
- the value to setpublic MigrationAssetSummary.Builder replicationScheduleId(String replicationScheduleId)
Replication schedule identifier
replicationScheduleId
- the value to setpublic MigrationAssetSummary.Builder tenancyId(String tenancyId)
Tenancy Identifier
tenancyId
- the value to setpublic MigrationAssetSummary build()
public MigrationAssetSummary.Builder copy(MigrationAssetSummary model)
Copyright © 2016–2024. All rights reserved.