CatalogProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. CatalogUpdateProperties - com.
azure. resourcemanager. devcenter. fluent. models. CatalogProperties
- com.
- com.
public final class CatalogProperties
extends CatalogUpdateProperties
Properties of a catalog.
Constructor Summary
Constructor | Description |
---|---|
CatalogProperties() |
Creates an instance of Catalog |
Method Summary
Modifier and Type | Method and Description |
---|---|
Catalog |
connectionState()
Get the connection |
Offset |
lastConnectionTime()
Get the last |
Sync |
lastSyncStats()
Get the last |
Offset |
lastSyncTime()
Get the last |
Provisioning |
provisioningState()
Get the provisioning |
Catalog |
syncState()
Get the sync |
void |
validate()
Validates the instance. |
Catalog |
withAdoGit(GitCatalog adoGit)
Set the ado |
Catalog |
withGitHub(GitCatalog gitHub)
Set the git |
Catalog |
withSyncType(CatalogSyncType syncType)
Set the sync |
Methods inherited from CatalogUpdateProperties
Methods inherited from java.lang.Object
Constructor Details
CatalogProperties
public CatalogProperties()
Creates an instance of CatalogProperties class.
Method Details
connectionState
public CatalogConnectionState connectionState()
Get the connectionState property: The connection state of the catalog.
Returns:
lastConnectionTime
public OffsetDateTime lastConnectionTime()
Get the lastConnectionTime property: When the catalog was last connected.
Returns:
lastSyncStats
public SyncStats lastSyncStats()
Get the lastSyncStats property: Stats of the latest synchronization.
Returns:
lastSyncTime
public OffsetDateTime lastSyncTime()
Get the lastSyncTime property: When the catalog was last synced.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
syncState
public CatalogSyncState syncState()
Get the syncState property: The synchronization state of the catalog.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
CatalogProperties.validate()withAdoGit
public CatalogProperties withAdoGit(GitCatalog adoGit)
Set the adoGit property: Properties for an Azure DevOps catalog type.
Overrides:
CatalogProperties.withAdoGit(GitCatalog adoGit)Parameters:
withGitHub
public CatalogProperties withGitHub(GitCatalog gitHub)
Set the gitHub property: Properties for a GitHub catalog type.
Overrides:
CatalogProperties.withGitHub(GitCatalog gitHub)Parameters:
withSyncType
public CatalogProperties withSyncType(CatalogSyncType syncType)
Set the syncType property: Indicates the type of sync that is configured for the catalog.
Overrides:
CatalogProperties.withSyncType(CatalogSyncType syncType)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for