Class StorageMigrationOptionsProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.StorageMigrationOptionsProperties

public final class StorageMigrationOptionsProperties extends Object
StorageMigrationOptions resource specific properties.
  • Constructor Details

    • StorageMigrationOptionsProperties

      public StorageMigrationOptionsProperties()
  • Method Details

    • 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.