Class CatalogUpdate

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

public final class CatalogUpdate extends Object
The catalog's properties for partial update. Properties not provided in the update request will not be changed.
  • Constructor Details

    • CatalogUpdate

      public CatalogUpdate()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public CatalogUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the CatalogUpdate object itself.
    • gitHub

      public GitCatalog gitHub()
      Get the gitHub property: Properties for a GitHub catalog type.
      Returns:
      the gitHub value.
    • withGitHub

      public CatalogUpdate withGitHub(GitCatalog gitHub)
      Set the gitHub property: Properties for a GitHub catalog type.
      Parameters:
      gitHub - the gitHub value to set.
      Returns:
      the CatalogUpdate object itself.
    • adoGit

      public GitCatalog adoGit()
      Get the adoGit property: Properties for an Azure DevOps catalog type.
      Returns:
      the adoGit value.
    • withAdoGit

      public CatalogUpdate withAdoGit(GitCatalog adoGit)
      Set the adoGit property: Properties for an Azure DevOps catalog type.
      Parameters:
      adoGit - the adoGit value to set.
      Returns:
      the CatalogUpdate object itself.
    • validate

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