Class MigrationRequestProperties
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.MigrationRequestProperties
-
public final class MigrationRequestProperties extends Object
Properties for arm migration.
-
-
Constructor Summary
Constructors Constructor Description MigrationRequestProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmigrationPath()Get the migrationPath property: The path to the legacy object to migrate.Operationoperation()Get the operation property: The type of operation for migration.voidvalidate()Validates the instance.MigrationRequestPropertieswithMigrationPath(String migrationPath)Set the migrationPath property: The path to the legacy object to migrate.MigrationRequestPropertieswithOperation(Operation operation)Set the operation property: The type of operation for migration.
-
-
-
Method Detail
-
operation
public Operation operation()
Get the operation property: The type of operation for migration.- Returns:
- the operation value.
-
withOperation
public MigrationRequestProperties withOperation(Operation operation)
Set the operation property: The type of operation for migration.- Parameters:
operation- the operation value to set.- Returns:
- the MigrationRequestProperties object itself.
-
migrationPath
public String migrationPath()
Get the migrationPath property: The path to the legacy object to migrate.- Returns:
- the migrationPath value.
-
withMigrationPath
public MigrationRequestProperties withMigrationPath(String migrationPath)
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.
-
-