Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
Options for app content migration.
/**
* Options for app content migration.
*/
@JsonFlatten
public class StorageMigrationOptions extends ProxyOnlyResource {
AzureFiles connection string.
/**
* AzureFiles connection string.
*/
@JsonProperty(value = "properties.azurefilesConnectionString", required = true)
private String azurefilesConnectionString;
AzureFiles share.
/**
* AzureFiles share.
*/
@JsonProperty(value = "properties.azurefilesShare", required = true)
private String azurefilesShare;
<code>true</code>if the app should be switched over;
otherwise, <code>false</code>.
/**
* <code>true</code>if the app should be switched over;
* otherwise, <code>false</code>.
*/
@JsonProperty(value = "properties.switchSiteAfterMigration")
private Boolean switchSiteAfterMigration;
<code>true</code> if the app should be read only during copy
operation; otherwise, <code>false</code>.
/**
* <code>true</code> if the app should be read only during copy
* operation; otherwise, <code>false</code>.
*/
@JsonProperty(value = "properties.blockWriteAccessToSite")
private Boolean blockWriteAccessToSite;
Get azureFiles connection string.
Returns: the azurefilesConnectionString value
/**
* Get azureFiles connection string.
*
* @return the azurefilesConnectionString value
*/
public String azurefilesConnectionString() {
return this.azurefilesConnectionString;
}
Set azureFiles connection string.
Params: - azurefilesConnectionString – the azurefilesConnectionString value to set
Returns: the StorageMigrationOptions object itself.
/**
* Set azureFiles connection string.
*
* @param azurefilesConnectionString the azurefilesConnectionString value to set
* @return the StorageMigrationOptions object itself.
*/
public StorageMigrationOptions withAzurefilesConnectionString(String azurefilesConnectionString) {
this.azurefilesConnectionString = azurefilesConnectionString;
return this;
}
Get azureFiles share.
Returns: the azurefilesShare value
/**
* Get azureFiles share.
*
* @return the azurefilesShare value
*/
public String azurefilesShare() {
return this.azurefilesShare;
}
Set azureFiles share.
Params: - azurefilesShare – the azurefilesShare value to set
Returns: the StorageMigrationOptions object itself.
/**
* Set azureFiles share.
*
* @param azurefilesShare the azurefilesShare value to set
* @return the StorageMigrationOptions object itself.
*/
public StorageMigrationOptions withAzurefilesShare(String azurefilesShare) {
this.azurefilesShare = azurefilesShare;
return this;
}
Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>.
Returns: the switchSiteAfterMigration value
/**
* Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>.
*
* @return the switchSiteAfterMigration value
*/
public Boolean switchSiteAfterMigration() {
return this.switchSiteAfterMigration;
}
Set <code>true</code>if the app should be switched over; otherwise, <code>false</code>.
Params: - switchSiteAfterMigration – the switchSiteAfterMigration value to set
Returns: the StorageMigrationOptions object itself.
/**
* Set <code>true</code>if the app should be switched over; otherwise, <code>false</code>.
*
* @param switchSiteAfterMigration the switchSiteAfterMigration value to set
* @return the StorageMigrationOptions object itself.
*/
public StorageMigrationOptions withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration) {
this.switchSiteAfterMigration = switchSiteAfterMigration;
return this;
}
Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.
Returns: the blockWriteAccessToSite value
/**
* Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.
*
* @return the blockWriteAccessToSite value
*/
public Boolean blockWriteAccessToSite() {
return this.blockWriteAccessToSite;
}
Set <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.
Params: - blockWriteAccessToSite – the blockWriteAccessToSite value to set
Returns: the StorageMigrationOptions object itself.
/**
* Set <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>.
*
* @param blockWriteAccessToSite the blockWriteAccessToSite value to set
* @return the StorageMigrationOptions object itself.
*/
public StorageMigrationOptions withBlockWriteAccessToSite(Boolean blockWriteAccessToSite) {
this.blockWriteAccessToSite = blockWriteAccessToSite;
return this;
}
}