Class MigrateSyncCompleteCommandInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrateSyncCompleteCommandInput
Input for command that completes sync migration for a database.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MigrateSyncCompleteCommandInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the commitTimestamp property: Time stamp to complete.Get the databaseName property: Name of database.void
validate()
Validates the instance.withCommitTimestamp
(OffsetDateTime commitTimestamp) Set the commitTimestamp property: Time stamp to complete.withDatabaseName
(String databaseName) Set the databaseName property: Name of database.
-
Constructor Details
-
MigrateSyncCompleteCommandInput
public MigrateSyncCompleteCommandInput()Creates an instance of MigrateSyncCompleteCommandInput class.
-
-
Method Details
-
databaseName
Get the databaseName property: Name of database.- Returns:
- the databaseName value.
-
withDatabaseName
Set the databaseName property: Name of database.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the MigrateSyncCompleteCommandInput object itself.
-
commitTimestamp
Get the commitTimestamp property: Time stamp to complete.- Returns:
- the commitTimestamp value.
-
withCommitTimestamp
Set the commitTimestamp property: Time stamp to complete.- Parameters:
commitTimestamp
- the commitTimestamp value to set.- Returns:
- the MigrateSyncCompleteCommandInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-