Class GitCatalog

java.lang.Object
com.azure.resourcemanager.devcenter.models.GitCatalog

public final class GitCatalog extends Object
Properties for a Git repository catalog.
  • Constructor Details

    • GitCatalog

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

    • uri

      public String uri()
      Get the uri property: Git URI.
      Returns:
      the uri value.
    • withUri

      public GitCatalog withUri(String uri)
      Set the uri property: Git URI.
      Parameters:
      uri - the uri value to set.
      Returns:
      the GitCatalog object itself.
    • branch

      public String branch()
      Get the branch property: Git branch.
      Returns:
      the branch value.
    • withBranch

      public GitCatalog withBranch(String branch)
      Set the branch property: Git branch.
      Parameters:
      branch - the branch value to set.
      Returns:
      the GitCatalog object itself.
    • secretIdentifier

      public String secretIdentifier()
      Get the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
      Returns:
      the secretIdentifier value.
    • withSecretIdentifier

      public GitCatalog withSecretIdentifier(String secretIdentifier)
      Set the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.
      Parameters:
      secretIdentifier - the secretIdentifier value to set.
      Returns:
      the GitCatalog object itself.
    • path

      public String path()
      Get the path property: The folder where the catalog items can be found inside the repository.
      Returns:
      the path value.
    • withPath

      public GitCatalog withPath(String path)
      Set the path property: The folder where the catalog items can be found inside the repository.
      Parameters:
      path - the path value to set.
      Returns:
      the GitCatalog object itself.
    • validate

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