Class MigrationRequestProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.MigrationRequestProperties
Properties for arm migration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the migrationPath property: The path to the legacy object to migrate.Get the operation property: The type of operation for migration.void
validate()
Validates the instance.withMigrationPath
(String migrationPath) Set the migrationPath property: The path to the legacy object to migrate.withOperation
(Operation operation) Set the operation property: The type of operation for migration.
-
Constructor Details
-
MigrationRequestProperties
public MigrationRequestProperties()
-
-
Method Details
-
operation
Get the operation property: The type of operation for migration.- Returns:
- the operation value.
-
withOperation
Set the operation property: The type of operation for migration.- Parameters:
operation
- the operation value to set.- Returns:
- the MigrationRequestProperties object itself.
-
migrationPath
Get the migrationPath property: The path to the legacy object to migrate.- Returns:
- the migrationPath value.
-
withMigrationPath
Set the migrationPath property: The path to the legacy object to migrate.- Parameters:
migrationPath
- the migrationPath value to set.- Returns:
- the MigrationRequestProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-