Class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError
java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskOutput
com.azure.resourcemanager.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError
public final class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError
extends MigrateMySqlAzureDbForMySqlSyncTaskOutput
The MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError class. -
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: Error message.events()Get the events property: List of error events.voidvalidate()Validates the instance.withErrorMessage(String errorMessage) Set the errorMessage property: Error message.Set the events property: List of error events.Methods inherited from class com.azure.resourcemanager.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskOutput
id
-
Constructor Details
-
MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError
public MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError()Creates an instance of MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError class.
-
-
Method Details
-
errorMessage
Get the errorMessage property: Error message.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: Error message.- Parameters:
errorMessage- the errorMessage value to set.- Returns:
- the MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError object itself.
-
events
Get the events property: List of error events.- Returns:
- the events value.
-
withEvents
public MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError withEvents(List<SyncMigrationDatabaseErrorEvent> events) Set the events property: List of error events.- Parameters:
events- the events value to set.- Returns:
- the MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMigrateMySqlAzureDbForMySqlSyncTaskOutput- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-