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.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.appservice.ProxyOnlyResource;
Source control configuration for an app.
/**
* Source control configuration for an app.
*/
@JsonFlatten
public class SiteSourceControlInner extends ProxyOnlyResource {
Repository or source control URL.
/**
* Repository or source control URL.
*/
@JsonProperty(value = "properties.repoUrl")
private String repoUrl;
Name of branch to use for deployment.
/**
* Name of branch to use for deployment.
*/
@JsonProperty(value = "properties.branch")
private String branch;
<code>true</code> to limit to manual integration;
<code>false</code> to enable continuous integration (which
configures webhooks into online repos like GitHub).
/**
* <code>true</code> to limit to manual integration;
* <code>false</code> to enable continuous integration (which
* configures webhooks into online repos like GitHub).
*/
@JsonProperty(value = "properties.isManualIntegration")
private Boolean isManualIntegration;
<code>true</code> to enable deployment rollback; otherwise,
<code>false</code>.
/**
* <code>true</code> to enable deployment rollback; otherwise,
* <code>false</code>.
*/
@JsonProperty(value = "properties.deploymentRollbackEnabled")
private Boolean deploymentRollbackEnabled;
<code>true</code> for a Mercurial repository;
<code>false</code> for a Git repository.
/**
* <code>true</code> for a Mercurial repository;
* <code>false</code> for a Git repository.
*/
@JsonProperty(value = "properties.isMercurial")
private Boolean isMercurial;
Get repository or source control URL.
Returns: the repoUrl value
/**
* Get repository or source control URL.
*
* @return the repoUrl value
*/
public String repoUrl() {
return this.repoUrl;
}
Set repository or source control URL.
Params: - repoUrl – the repoUrl value to set
Returns: the SiteSourceControlInner object itself.
/**
* Set repository or source control URL.
*
* @param repoUrl the repoUrl value to set
* @return the SiteSourceControlInner object itself.
*/
public SiteSourceControlInner withRepoUrl(String repoUrl) {
this.repoUrl = repoUrl;
return this;
}
Get name of branch to use for deployment.
Returns: the branch value
/**
* Get name of branch to use for deployment.
*
* @return the branch value
*/
public String branch() {
return this.branch;
}
Set name of branch to use for deployment.
Params: - branch – the branch value to set
Returns: the SiteSourceControlInner object itself.
/**
* Set name of branch to use for deployment.
*
* @param branch the branch value to set
* @return the SiteSourceControlInner object itself.
*/
public SiteSourceControlInner withBranch(String branch) {
this.branch = branch;
return this;
}
Get <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).
Returns: the isManualIntegration value
/**
* Get <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).
*
* @return the isManualIntegration value
*/
public Boolean isManualIntegration() {
return this.isManualIntegration;
}
Set <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).
Params: - isManualIntegration – the isManualIntegration value to set
Returns: the SiteSourceControlInner object itself.
/**
* Set <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).
*
* @param isManualIntegration the isManualIntegration value to set
* @return the SiteSourceControlInner object itself.
*/
public SiteSourceControlInner withIsManualIntegration(Boolean isManualIntegration) {
this.isManualIntegration = isManualIntegration;
return this;
}
Get <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.
Returns: the deploymentRollbackEnabled value
/**
* Get <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.
*
* @return the deploymentRollbackEnabled value
*/
public Boolean deploymentRollbackEnabled() {
return this.deploymentRollbackEnabled;
}
Set <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.
Params: - deploymentRollbackEnabled – the deploymentRollbackEnabled value to set
Returns: the SiteSourceControlInner object itself.
/**
* Set <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.
*
* @param deploymentRollbackEnabled the deploymentRollbackEnabled value to set
* @return the SiteSourceControlInner object itself.
*/
public SiteSourceControlInner withDeploymentRollbackEnabled(Boolean deploymentRollbackEnabled) {
this.deploymentRollbackEnabled = deploymentRollbackEnabled;
return this;
}
Get <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.
Returns: the isMercurial value
/**
* Get <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.
*
* @return the isMercurial value
*/
public Boolean isMercurial() {
return this.isMercurial;
}
Set <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.
Params: - isMercurial – the isMercurial value to set
Returns: the SiteSourceControlInner object itself.
/**
* Set <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.
*
* @param isMercurial the isMercurial value to set
* @return the SiteSourceControlInner object itself.
*/
public SiteSourceControlInner withIsMercurial(Boolean isMercurial) {
this.isMercurial = isMercurial;
return this;
}
}