Class MigrationAsset
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.cloudmigrations.model.MigrationAsset
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class MigrationAsset extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDescription of the migration asset.
 Note: Objects should always be created or deserialized using theMigrationAsset.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMigrationAsset.Builder, which maintain a set of all explicitly set fields calledMigrationAsset.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMigrationAsset.Builderstatic classMigrationAsset.LifecycleStateThe current state of the migration asset.static classMigrationAsset.Notifications
 - 
Constructor SummaryConstructors Constructor Description MigrationAsset(String id, String type, String displayName, String compartmentId, MigrationAsset.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String migrationId, Map<String,HydratedVolume> snapshots, String parentSnapshot, Map<String,Object> sourceAssetData, List<MigrationAsset.Notifications> notifications, String sourceAssetId, String replicationScheduleId, String availabilityDomain, String replicationCompartmentId, String tenancyId, String snapShotBucketName, List<String> dependedOnBy, List<String> dependsOn)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MigrationAsset.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAvailabilityDomain()Availability domainStringgetCompartmentId()Compartment IdentifierList<String>getDependedOnBy()List of migration assets that depend on the asset.List<String>getDependsOn()List of migration assets that depends on the asset.StringgetDisplayName()A user-friendly name.StringgetId()Asset ID generated by mirgration service.StringgetLifecycleDetails()A message describing the current state in more detail.MigrationAsset.LifecycleStategetLifecycleState()The current state of the migration asset.StringgetMigrationId()OCID of the associated migration.List<MigrationAsset.Notifications>getNotifications()List of notificationsStringgetParentSnapshot()The parent snapshot of the migration asset to be used by the replication task.StringgetReplicationCompartmentId()Replication compartment identifierStringgetReplicationScheduleId()Replication schedule identifierStringgetSnapShotBucketName()Name of snapshot bucketMap<String,HydratedVolume>getSnapshots()Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots.Map<String,Object>getSourceAssetData()Key-value pair representing asset metadata keys and values scoped to a namespace.StringgetSourceAssetId()OCID that is referenced to an asset for an inventory.StringgetTenancyId()Tenancy identifierDategetTimeCreated()The time when the migration asset was created.DategetTimeUpdated()The time when the migration asset was updated.StringgetType()The type of asset referenced for inventory.inthashCode()MigrationAsset.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
MigrationAsset@Deprecated @ConstructorProperties({"id","type","displayName","compartmentId","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","migrationId","snapshots","parentSnapshot","sourceAssetData","notifications","sourceAssetId","replicationScheduleId","availabilityDomain","replicationCompartmentId","tenancyId","snapShotBucketName","dependedOnBy","dependsOn"}) public MigrationAsset(String id, String type, String displayName, String compartmentId, MigrationAsset.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String migrationId, Map<String,HydratedVolume> snapshots, String parentSnapshot, Map<String,Object> sourceAssetData, List<MigrationAsset.Notifications> notifications, String sourceAssetId, String replicationScheduleId, String availabilityDomain, String replicationCompartmentId, String tenancyId, String snapShotBucketName, List<String> dependedOnBy, List<String> dependsOn) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static MigrationAsset.Builder builder() Create a new builder.
 - 
toBuilderpublic MigrationAsset.Builder toBuilder() 
 - 
getIdpublic String getId() Asset ID generated by mirgration service.It is used in the mirgration service pipeline. - Returns:
- the value
 
 - 
getTypepublic String getType() The type of asset referenced for inventory.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() Compartment Identifier- Returns:
- the value
 
 - 
getLifecycleStatepublic MigrationAsset.LifecycleState getLifecycleState() The current state of the migration asset.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() 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. - Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time when the migration asset was created.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time when the migration asset was updated.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getMigrationIdpublic String getMigrationId() OCID of the associated migration.- Returns:
- the value
 
 - 
getSnapshotspublic Map<String,HydratedVolume> getSnapshots() Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots.Example: {“bar-key”: “value”} - Returns:
- the value
 
 - 
getParentSnapshotpublic String getParentSnapshot() The parent snapshot of the migration asset to be used by the replication task.- Returns:
- the value
 
 - 
getSourceAssetDatapublic Map<String,Object> getSourceAssetData() Key-value pair representing asset metadata keys and values scoped to a namespace.Example: {“bar-key”: “value”} - Returns:
- the value
 
 - 
getNotificationspublic List<MigrationAsset.Notifications> getNotifications() List of notifications- Returns:
- the value
 
 - 
getSourceAssetIdpublic String getSourceAssetId() OCID that is referenced to an asset for an inventory.- Returns:
- the value
 
 - 
getReplicationScheduleIdpublic String getReplicationScheduleId() Replication schedule identifier- Returns:
- the value
 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() Availability domain- Returns:
- the value
 
 - 
getReplicationCompartmentIdpublic String getReplicationCompartmentId() Replication compartment identifier- Returns:
- the value
 
 - 
getTenancyIdpublic String getTenancyId() Tenancy identifier- Returns:
- the value
 
 - 
getSnapShotBucketNamepublic String getSnapShotBucketName() Name of snapshot bucket- Returns:
- the value
 
 - 
getDependedOnBypublic List<String> getDependedOnBy() List of migration assets that depend on the asset.- Returns:
- the value
 
 - 
getDependsOnpublic List<String> getDependsOn() List of migration assets that depends on the asset.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-