SiteSourceControlInner Class

public final class SiteSourceControlInner
extends ProxyOnlyResource

Source control configuration for an app.

Constructor Summary

Constructor Description
SiteSourceControlInner()

Creates an instance of SiteSourceControlInner class.

Method Summary

Modifier and Type Method and Description
String branch()

Get the branch property: Name of branch to use for deployment.

Boolean deploymentRollbackEnabled()

Get the deploymentRollbackEnabled property: true to enable deployment rollback; otherwise, false.

GitHubActionConfiguration gitHubActionConfiguration()

Get the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.

Boolean isGitHubAction()

Get the isGitHubAction property: true if this is deployed via GitHub action.

Boolean isManualIntegration()

Get the isManualIntegration property: true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).

Boolean isMercurial()

Get the isMercurial property: true for a Mercurial repository; false for a Git repository.

String repoUrl()

Get the repoUrl property: Repository or source control URL.

void validate()

Validates the instance.

SiteSourceControlInner withBranch(String branch)

Set the branch property: Name of branch to use for deployment.

SiteSourceControlInner withDeploymentRollbackEnabled(Boolean deploymentRollbackEnabled)

Set the deploymentRollbackEnabled property: true to enable deployment rollback; otherwise, false.

SiteSourceControlInner withGitHubActionConfiguration(GitHubActionConfiguration gitHubActionConfiguration)

Set the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.

SiteSourceControlInner withIsGitHubAction(Boolean isGitHubAction)

Set the isGitHubAction property: true if this is deployed via GitHub action.

SiteSourceControlInner withIsManualIntegration(Boolean isManualIntegration)

Set the isManualIntegration property: true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).

SiteSourceControlInner withIsMercurial(Boolean isMercurial)

Set the isMercurial property: true for a Mercurial repository; false for a Git repository.

SiteSourceControlInner withKind(String kind)

Set the kind property: Kind of resource.

SiteSourceControlInner withRepoUrl(String repoUrl)

Set the repoUrl property: Repository or source control URL.

Methods inherited from ProxyResource

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

SiteSourceControlInner

public SiteSourceControlInner()

Creates an instance of SiteSourceControlInner class.

Method Details

branch

public String branch()

Get the branch property: Name of branch to use for deployment.

Returns:

the branch value.

deploymentRollbackEnabled

public Boolean deploymentRollbackEnabled()

Get the deploymentRollbackEnabled property: true to enable deployment rollback; otherwise, false.

Returns:

the deploymentRollbackEnabled value.

gitHubActionConfiguration

public GitHubActionConfiguration gitHubActionConfiguration()

Get the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.

Returns:

the gitHubActionConfiguration value.

isGitHubAction

public Boolean isGitHubAction()

Get the isGitHubAction property: true if this is deployed via GitHub action.

Returns:

the isGitHubAction value.

isManualIntegration

public Boolean isManualIntegration()

Get the isManualIntegration property: true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).

Returns:

the isManualIntegration value.

isMercurial

public Boolean isMercurial()

Get the isMercurial property: true for a Mercurial repository; false for a Git repository.

Returns:

the isMercurial value.

repoUrl

public String repoUrl()

Get the repoUrl property: Repository or source control URL.

Returns:

the repoUrl value.

validate

public void validate()

Validates the instance.

Overrides:

SiteSourceControlInner.validate()

withBranch

public SiteSourceControlInner withBranch(String branch)

Set the branch property: Name of branch to use for deployment.

Parameters:

branch - the branch value to set.

Returns:

the SiteSourceControlInner object itself.

withDeploymentRollbackEnabled

public SiteSourceControlInner withDeploymentRollbackEnabled(Boolean deploymentRollbackEnabled)

Set the deploymentRollbackEnabled property: true to enable deployment rollback; otherwise, false.

Parameters:

deploymentRollbackEnabled - the deploymentRollbackEnabled value to set.

Returns:

the SiteSourceControlInner object itself.

withGitHubActionConfiguration

public SiteSourceControlInner withGitHubActionConfiguration(GitHubActionConfiguration gitHubActionConfiguration)

Set the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.

Parameters:

gitHubActionConfiguration - the gitHubActionConfiguration value to set.

Returns:

the SiteSourceControlInner object itself.

withIsGitHubAction

public SiteSourceControlInner withIsGitHubAction(Boolean isGitHubAction)

Set the isGitHubAction property: true if this is deployed via GitHub action.

Parameters:

isGitHubAction - the isGitHubAction value to set.

Returns:

the SiteSourceControlInner object itself.

withIsManualIntegration

public SiteSourceControlInner withIsManualIntegration(Boolean isManualIntegration)

Set the isManualIntegration property: true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).

Parameters:

isManualIntegration - the isManualIntegration value to set.

Returns:

the SiteSourceControlInner object itself.

withIsMercurial

public SiteSourceControlInner withIsMercurial(Boolean isMercurial)

Set the isMercurial property: true for a Mercurial repository; false for a Git repository.

Parameters:

isMercurial - the isMercurial value to set.

Returns:

the SiteSourceControlInner object itself.

withKind

public SiteSourceControlInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

SiteSourceControlInner.withKind(String kind)

Parameters:

kind

withRepoUrl

public SiteSourceControlInner withRepoUrl(String repoUrl)

Set the repoUrl property: Repository or source control URL.

Parameters:

repoUrl - the repoUrl value to set.

Returns:

the SiteSourceControlInner object itself.

Applies to