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;
Publishing options for requested profile.
/**
* Publishing options for requested profile.
*/
public class CsmPublishingProfileOptions {
Name of the format. Valid values are:
FileZilla3
WebDeploy -- default
Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'.
/**
* Name of the format. Valid values are:
* FileZilla3
* WebDeploy -- default
* Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'.
*/
@JsonProperty(value = "format")
private PublishingProfileFormat format;
Include the DisasterRecover endpoint if true.
/**
* Include the DisasterRecover endpoint if true.
*/
@JsonProperty(value = "includeDisasterRecoveryEndpoints")
private Boolean includeDisasterRecoveryEndpoints;
Get name of the format. Valid values are:
FileZilla3
WebDeploy -- default
Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'.
Returns: the format value
/**
* Get name of the format. Valid values are:
FileZilla3
WebDeploy -- default
Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'.
*
* @return the format value
*/
public PublishingProfileFormat format() {
return this.format;
}
Set name of the format. Valid values are:
FileZilla3
WebDeploy -- default
Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'.
Params: - format – the format value to set
Returns: the CsmPublishingProfileOptions object itself.
/**
* Set name of the format. Valid values are:
FileZilla3
WebDeploy -- default
Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'.
*
* @param format the format value to set
* @return the CsmPublishingProfileOptions object itself.
*/
public CsmPublishingProfileOptions withFormat(PublishingProfileFormat format) {
this.format = format;
return this;
}
Get include the DisasterRecover endpoint if true.
Returns: the includeDisasterRecoveryEndpoints value
/**
* Get include the DisasterRecover endpoint if true.
*
* @return the includeDisasterRecoveryEndpoints value
*/
public Boolean includeDisasterRecoveryEndpoints() {
return this.includeDisasterRecoveryEndpoints;
}
Set include the DisasterRecover endpoint if true.
Params: - includeDisasterRecoveryEndpoints – the includeDisasterRecoveryEndpoints value to set
Returns: the CsmPublishingProfileOptions object itself.
/**
* Set include the DisasterRecover endpoint if true.
*
* @param includeDisasterRecoveryEndpoints the includeDisasterRecoveryEndpoints value to set
* @return the CsmPublishingProfileOptions object itself.
*/
public CsmPublishingProfileOptions withIncludeDisasterRecoveryEndpoints(Boolean includeDisasterRecoveryEndpoints) {
this.includeDisasterRecoveryEndpoints = includeDisasterRecoveryEndpoints;
return this;
}
}