Class CatalogProperties

java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.CatalogUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.CatalogProperties

public final class CatalogProperties extends CatalogUpdateProperties
Properties of a catalog.
  • Constructor Details

    • CatalogProperties

      public CatalogProperties()
  • Method Details

    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • lastSyncTime

      public OffsetDateTime lastSyncTime()
      Get the lastSyncTime property: When the catalog was last synced.
      Returns:
      the lastSyncTime value.
    • withGitHub

      public CatalogProperties withGitHub(GitCatalog gitHub)
      Set the gitHub property: Properties for a GitHub catalog type.
      Overrides:
      withGitHub in class CatalogUpdateProperties
      Parameters:
      gitHub - the gitHub value to set.
      Returns:
      the CatalogUpdateProperties object itself.
    • withAdoGit

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

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