Class StorageMigrationOptionsProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.StorageMigrationOptionsProperties
-
public final class StorageMigrationOptionsProperties extends Object
StorageMigrationOptions resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description StorageMigrationOptionsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringazurefilesConnectionString()Get the azurefilesConnectionString property: AzureFiles connection string.StringazurefilesShare()Get the azurefilesShare property: AzureFiles share.BooleanblockWriteAccessToSite()Get the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.BooleanswitchSiteAfterMigration()Get the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.voidvalidate()Validates the instance.StorageMigrationOptionsPropertieswithAzurefilesConnectionString(String azurefilesConnectionString)Set the azurefilesConnectionString property: AzureFiles connection string.StorageMigrationOptionsPropertieswithAzurefilesShare(String azurefilesShare)Set the azurefilesShare property: AzureFiles share.StorageMigrationOptionsPropertieswithBlockWriteAccessToSite(Boolean blockWriteAccessToSite)Set the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.StorageMigrationOptionsPropertieswithSwitchSiteAfterMigration(Boolean switchSiteAfterMigration)Set the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.
-
-
-
Method Detail
-
azurefilesConnectionString
public String azurefilesConnectionString()
Get the azurefilesConnectionString property: AzureFiles connection string.- Returns:
- the azurefilesConnectionString value.
-
withAzurefilesConnectionString
public StorageMigrationOptionsProperties withAzurefilesConnectionString(String azurefilesConnectionString)
Set the azurefilesConnectionString property: AzureFiles connection string.- Parameters:
azurefilesConnectionString- the azurefilesConnectionString value to set.- Returns:
- the StorageMigrationOptionsProperties object itself.
-
azurefilesShare
public String azurefilesShare()
Get the azurefilesShare property: AzureFiles share.- Returns:
- the azurefilesShare value.
-
withAzurefilesShare
public StorageMigrationOptionsProperties withAzurefilesShare(String azurefilesShare)
Set the azurefilesShare property: AzureFiles share.- Parameters:
azurefilesShare- the azurefilesShare value to set.- Returns:
- the StorageMigrationOptionsProperties object itself.
-
switchSiteAfterMigration
public Boolean switchSiteAfterMigration()
Get the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.- Returns:
- the switchSiteAfterMigration value.
-
withSwitchSiteAfterMigration
public StorageMigrationOptionsProperties withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration)
Set the switchSiteAfterMigration property: <code>true</code>if the app should be switched over; otherwise, <code>false</code>.- Parameters:
switchSiteAfterMigration- the switchSiteAfterMigration value to set.- Returns:
- the StorageMigrationOptionsProperties object itself.
-
blockWriteAccessToSite
public Boolean blockWriteAccessToSite()
Get the blockWriteAccessToSite property: <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.- Returns:
- the blockWriteAccessToSite value.
-
withBlockWriteAccessToSite
public 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>.- Parameters:
blockWriteAccessToSite- the blockWriteAccessToSite value to set.- Returns:
- the StorageMigrationOptionsProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-