DatabaseMigrationBaseProperties Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. DatabaseMigrationBaseProperties
- com.
Implements
public class DatabaseMigrationBaseProperties
implements JsonSerializable<DatabaseMigrationBaseProperties>
Database Migration Base Resource properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabaseMigrationBaseProperties() |
Creates an instance of Database |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endedOn()
Get the ended |
|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
|
Resource |
kind()
Get the kind property: The kind property. |
|
Error |
migrationFailureError()
Get the migration |
| String |
migrationOperationId()
Get the migration |
| String |
migrationService()
Get the migration |
| String |
migrationStatus()
Get the migration |
| String |
provisioningError()
Get the provisioning |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
scope()
Get the scope property: Resource Id of the target resource. |
|
Offset |
startedOn()
Get the started |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Database |
withMigrationOperationId(String migrationOperationId)
Set the migration |
|
Database |
withMigrationService(String migrationService)
Set the migration |
|
Database |
withProvisioningError(String provisioningError)
Set the provisioning |
|
Database |
withScope(String scope)
Set the scope property: Resource Id of the target resource. |
Methods inherited from java.lang.Object
Constructor Details
DatabaseMigrationBaseProperties
public DatabaseMigrationBaseProperties()
Creates an instance of DatabaseMigrationBaseProperties class.
Method Details
endedOn
public OffsetDateTime endedOn()
Get the endedOn property: Database migration end time.
Returns:
fromJson
public static DatabaseMigrationBaseProperties fromJson(JsonReader jsonReader)
Reads an instance of DatabaseMigrationBaseProperties from the JsonReader.
Parameters:
Returns:
Throws:
kind
public ResourceType kind()
Get the kind property: The kind property.
Returns:
migrationFailureError
public ErrorInfo migrationFailureError()
Get the migrationFailureError property: Error details in case of migration failure.
Returns:
migrationOperationId
public String migrationOperationId()
Get the migrationOperationId property: ID for current migration operation.
Returns:
migrationService
public String migrationService()
Get the migrationService property: Resource Id of the Migration Service.
Returns:
migrationStatus
public String migrationStatus()
Get the migrationStatus property: Migration status.
Returns:
provisioningError
public String provisioningError()
Get the provisioningError property: Error message for migration provisioning failure, if any.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
Returns:
scope
public String scope()
Get the scope property: Resource Id of the target resource.
Returns:
startedOn
public OffsetDateTime startedOn()
Get the startedOn property: Database migration start time.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMigrationOperationId
public DatabaseMigrationBaseProperties withMigrationOperationId(String migrationOperationId)
Set the migrationOperationId property: ID for current migration operation.
Parameters:
Returns:
withMigrationService
public DatabaseMigrationBaseProperties withMigrationService(String migrationService)
Set the migrationService property: Resource Id of the Migration Service.
Parameters:
Returns:
withProvisioningError
public DatabaseMigrationBaseProperties withProvisioningError(String provisioningError)
Set the provisioningError property: Error message for migration provisioning failure, if any.
Parameters:
Returns:
withScope
public DatabaseMigrationBaseProperties withScope(String scope)
Set the scope property: Resource Id of the target resource.
Parameters:
Returns: