Class SiteSourceControlInner


  • public final class SiteSourceControlInner
    extends ProxyOnlyResource
    Source control configuration for an app.
    • Constructor Detail

      • SiteSourceControlInner

        public SiteSourceControlInner()
    • Method Detail

      • repoUrl

        public String repoUrl()
        Get the repoUrl property: Repository or source control URL.
        Returns:
        the repoUrl value.
      • 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.
      • branch

        public String branch()
        Get the branch property: Name of branch to use for deployment.
        Returns:
        the branch value.
      • 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.
      • isManualIntegration

        public Boolean isManualIntegration()
        Get the isManualIntegration property: <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.
      • withIsManualIntegration

        public SiteSourceControlInner withIsManualIntegration​(Boolean isManualIntegration)
        Set the isManualIntegration property: <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).
        Parameters:
        isManualIntegration - the isManualIntegration value to set.
        Returns:
        the SiteSourceControlInner object itself.
      • isGitHubAction

        public Boolean isGitHubAction()
        Get the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.
        Returns:
        the isGitHubAction value.
      • withIsGitHubAction

        public SiteSourceControlInner withIsGitHubAction​(Boolean isGitHubAction)
        Set the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.
        Parameters:
        isGitHubAction - the isGitHubAction value to set.
        Returns:
        the SiteSourceControlInner object itself.
      • deploymentRollbackEnabled

        public Boolean deploymentRollbackEnabled()
        Get the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.
        Returns:
        the deploymentRollbackEnabled value.
      • withDeploymentRollbackEnabled

        public SiteSourceControlInner withDeploymentRollbackEnabled​(Boolean deploymentRollbackEnabled)
        Set the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.
        Parameters:
        deploymentRollbackEnabled - the deploymentRollbackEnabled value to set.
        Returns:
        the SiteSourceControlInner object itself.
      • isMercurial

        public Boolean isMercurial()
        Get the isMercurial property: <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.
        Returns:
        the isMercurial value.
      • withIsMercurial

        public SiteSourceControlInner withIsMercurial​(Boolean isMercurial)
        Set the isMercurial property: <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.
        Parameters:
        isMercurial - the isMercurial value to set.
        Returns:
        the SiteSourceControlInner object itself.
      • gitHubActionConfiguration

        public GitHubActionConfiguration gitHubActionConfiguration()
        Get the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.
        Returns:
        the gitHubActionConfiguration value.
      • 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.