Class GitHubRepoProperties

java.lang.Object
com.azure.resourcemanager.securitydevops.models.GitHubRepoProperties

public final class GitHubRepoProperties extends Object
GitHub Repo properties.
  • Constructor Details

    • GitHubRepoProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public GitHubRepoProperties withProvisioningState(ProvisioningState provisioningState)
      Set the provisioningState property: The provisioningState property.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the GitHubRepoProperties object itself.
    • accountId

      public Long accountId()
      Get the accountId property: Gets or sets gitHub repo account id.
      Returns:
      the accountId value.
    • withAccountId

      public GitHubRepoProperties withAccountId(Long accountId)
      Set the accountId property: Gets or sets gitHub repo account id.
      Parameters:
      accountId - the accountId value to set.
      Returns:
      the GitHubRepoProperties object itself.
    • repoUrl

      public String repoUrl()
      Get the repoUrl property: Gets or sets gitHub repo url.
      Returns:
      the repoUrl value.
    • withRepoUrl

      public GitHubRepoProperties withRepoUrl(String repoUrl)
      Set the repoUrl property: Gets or sets gitHub repo url.
      Parameters:
      repoUrl - the repoUrl value to set.
      Returns:
      the GitHubRepoProperties object itself.
    • ownerName

      public String ownerName()
      Get the ownerName property: Gets or sets GitHub Owner Name.
      Returns:
      the ownerName value.
    • withOwnerName

      public GitHubRepoProperties withOwnerName(String ownerName)
      Set the ownerName property: Gets or sets GitHub Owner Name.
      Parameters:
      ownerName - the ownerName value to set.
      Returns:
      the GitHubRepoProperties object itself.
    • validate

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