public final class StorageMigrationOptionsProperties extends Object
| Constructor and Description |
|---|
StorageMigrationOptionsProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
azurefilesConnectionString()
Get the azurefilesConnectionString property: AzureFiles connection string.
|
String |
azurefilesShare()
Get the azurefilesShare property: AzureFiles share.
|
Boolean |
blockWriteAccessToSite()
Get the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy
operation; otherwise, <code>false</code>.
|
Boolean |
switchSiteAfterMigration()
Get the switchSiteAfterMigration property: <code>true</code>if the app should be switched over;
otherwise, <code>false</code>.
|
void |
validate()
Validates the instance.
|
StorageMigrationOptionsProperties |
withAzurefilesConnectionString(String azurefilesConnectionString)
Set the azurefilesConnectionString property: AzureFiles connection string.
|
StorageMigrationOptionsProperties |
withAzurefilesShare(String azurefilesShare)
Set the azurefilesShare property: AzureFiles share.
|
StorageMigrationOptionsProperties |
withBlockWriteAccessToSite(Boolean blockWriteAccessToSite)
Set the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy
operation; otherwise, <code>false</code>.
|
StorageMigrationOptionsProperties |
withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration)
Set the switchSiteAfterMigration property: <code>true</code>if the app should be switched over;
otherwise, <code>false</code>.
|
public String azurefilesConnectionString()
public StorageMigrationOptionsProperties withAzurefilesConnectionString(String azurefilesConnectionString)
azurefilesConnectionString - the azurefilesConnectionString value to set.public String azurefilesShare()
public StorageMigrationOptionsProperties withAzurefilesShare(String azurefilesShare)
azurefilesShare - the azurefilesShare value to set.public Boolean switchSiteAfterMigration()
public StorageMigrationOptionsProperties withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration)
switchSiteAfterMigration - the switchSiteAfterMigration value to set.public Boolean blockWriteAccessToSite()
public StorageMigrationOptionsProperties withBlockWriteAccessToSite(Boolean blockWriteAccessToSite)
blockWriteAccessToSite - the blockWriteAccessToSite value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.