Class CatalogProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.CatalogUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.CatalogProperties
Properties of a catalog.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the lastSyncTime property: When the catalog was last synced.Get the provisioningState property: The provisioning state of the resource.Get the syncState property: The synchronization state of the catalog.void
validate()
Validates the instance.withAdoGit
(GitCatalog adoGit) Set the adoGit property: Properties for an Azure DevOps catalog type.withGitHub
(GitCatalog gitHub) Set the gitHub property: Properties for a GitHub catalog type.Methods inherited from class com.azure.resourcemanager.devcenter.fluent.models.CatalogUpdateProperties
adoGit, gitHub
-
Constructor Details
-
CatalogProperties
public CatalogProperties()Creates an instance of CatalogProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
syncState
Get the syncState property: The synchronization state of the catalog.- Returns:
- the syncState value.
-
lastSyncTime
Get the lastSyncTime property: When the catalog was last synced.- Returns:
- the lastSyncTime value.
-
withGitHub
Set the gitHub property: Properties for a GitHub catalog type.- Overrides:
withGitHub
in classCatalogUpdateProperties
- Parameters:
gitHub
- the gitHub value to set.- Returns:
- the CatalogUpdateProperties object itself.
-
withAdoGit
Set the adoGit property: Properties for an Azure DevOps catalog type.- Overrides:
withAdoGit
in classCatalogUpdateProperties
- Parameters:
adoGit
- the adoGit value to set.- Returns:
- the CatalogUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCatalogUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-