Class AcceleratorGitRepository

java.lang.Object
com.azure.resourcemanager.appplatform.models.AcceleratorGitRepository

public final class AcceleratorGitRepository extends Object
The AcceleratorGitRepository model.
  • Constructor Details

    • AcceleratorGitRepository

      public AcceleratorGitRepository()
      Creates an instance of AcceleratorGitRepository class.
  • Method Details

    • url

      public String url()
      Get the url property: Git repository URL for the accelerator.
      Returns:
      the url value.
    • withUrl

      public AcceleratorGitRepository withUrl(String url)
      Set the url property: Git repository URL for the accelerator.
      Parameters:
      url - the url value to set.
      Returns:
      the AcceleratorGitRepository object itself.
    • intervalInSeconds

      public Integer intervalInSeconds()
      Get the intervalInSeconds property: Interval for checking for updates to Git or image repository.
      Returns:
      the intervalInSeconds value.
    • withIntervalInSeconds

      public AcceleratorGitRepository withIntervalInSeconds(Integer intervalInSeconds)
      Set the intervalInSeconds property: Interval for checking for updates to Git or image repository.
      Parameters:
      intervalInSeconds - the intervalInSeconds value to set.
      Returns:
      the AcceleratorGitRepository object itself.
    • branch

      public String branch()
      Get the branch property: Git repository branch to be used.
      Returns:
      the branch value.
    • withBranch

      public AcceleratorGitRepository withBranch(String branch)
      Set the branch property: Git repository branch to be used.
      Parameters:
      branch - the branch value to set.
      Returns:
      the AcceleratorGitRepository object itself.
    • commit

      public String commit()
      Get the commit property: Git repository commit to be used.
      Returns:
      the commit value.
    • withCommit

      public AcceleratorGitRepository withCommit(String commit)
      Set the commit property: Git repository commit to be used.
      Parameters:
      commit - the commit value to set.
      Returns:
      the AcceleratorGitRepository object itself.
    • gitTag

      public String gitTag()
      Get the gitTag property: Git repository tag to be used.
      Returns:
      the gitTag value.
    • withGitTag

      public AcceleratorGitRepository withGitTag(String gitTag)
      Set the gitTag property: Git repository tag to be used.
      Parameters:
      gitTag - the gitTag value to set.
      Returns:
      the AcceleratorGitRepository object itself.
    • authSetting

      public AcceleratorAuthSetting authSetting()
      Get the authSetting property: Properties of the auth setting payload.
      Returns:
      the authSetting value.
    • withAuthSetting

      public AcceleratorGitRepository withAuthSetting(AcceleratorAuthSetting authSetting)
      Set the authSetting property: Properties of the auth setting payload.
      Parameters:
      authSetting - the authSetting value to set.
      Returns:
      the AcceleratorGitRepository object itself.
    • subPath

      public String subPath()
      Get the subPath property: Folder path inside the git repository to consider as the root of the accelerator or fragment.
      Returns:
      the subPath value.
    • withSubPath

      public AcceleratorGitRepository withSubPath(String subPath)
      Set the subPath property: Folder path inside the git repository to consider as the root of the accelerator or fragment.
      Parameters:
      subPath - the subPath value to set.
      Returns:
      the AcceleratorGitRepository object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.