Class ManagedDatabaseStartMoveDefinition
java.lang.Object
com.azure.resourcemanager.sql.models.ManagedDatabaseStartMoveDefinition
Contains the information necessary to start a managed database move.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedDatabaseStartMoveDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the destinationManagedDatabaseId property: The destination managed database ID.Get the operationMode property: The move operation mode.voidvalidate()Validates the instance.withDestinationManagedDatabaseId(String destinationManagedDatabaseId) Set the destinationManagedDatabaseId property: The destination managed database ID.withOperationMode(MoveOperationMode operationMode) Set the operationMode property: The move operation mode.
-
Constructor Details
-
ManagedDatabaseStartMoveDefinition
public ManagedDatabaseStartMoveDefinition()Creates an instance of ManagedDatabaseStartMoveDefinition class.
-
-
Method Details
-
destinationManagedDatabaseId
Get the destinationManagedDatabaseId property: The destination managed database ID.- Returns:
- the destinationManagedDatabaseId value.
-
withDestinationManagedDatabaseId
public ManagedDatabaseStartMoveDefinition withDestinationManagedDatabaseId(String destinationManagedDatabaseId) Set the destinationManagedDatabaseId property: The destination managed database ID.- Parameters:
destinationManagedDatabaseId- the destinationManagedDatabaseId value to set.- Returns:
- the ManagedDatabaseStartMoveDefinition object itself.
-
operationMode
Get the operationMode property: The move operation mode.- Returns:
- the operationMode value.
-
withOperationMode
Set the operationMode property: The move operation mode.- Parameters:
operationMode- the operationMode value to set.- Returns:
- the ManagedDatabaseStartMoveDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-