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