CatalogProperties Class

public final class CatalogProperties
extends CatalogUpdateProperties

Properties of a catalog.

Constructor Summary

Constructor Description
CatalogProperties()

Creates an instance of CatalogProperties class.

Method Summary

Modifier and Type Method and Description
CatalogConnectionState connectionState()

Get the connectionState property: The connection state of the catalog.

OffsetDateTime lastConnectionTime()

Get the lastConnectionTime property: When the catalog was last connected.

SyncStats lastSyncStats()

Get the lastSyncStats property: Stats of the latest synchronization.

OffsetDateTime lastSyncTime()

Get the lastSyncTime property: When the catalog was last synced.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

CatalogSyncState syncState()

Get the syncState property: The synchronization state of the catalog.

void validate()

Validates the instance.

CatalogProperties withAdoGit(GitCatalog adoGit)

Set the adoGit property: Properties for an Azure DevOps catalog type.

CatalogProperties withGitHub(GitCatalog gitHub)

Set the gitHub property: Properties for a GitHub catalog type.

CatalogProperties withSyncType(CatalogSyncType syncType)

Set the syncType property: Indicates the type of sync that is configured for the catalog.

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:

the connectionState value.

lastConnectionTime

public OffsetDateTime lastConnectionTime()

Get the lastConnectionTime property: When the catalog was last connected.

Returns:

the lastConnectionTime value.

lastSyncStats

public SyncStats lastSyncStats()

Get the lastSyncStats property: Stats of the latest synchronization.

Returns:

the lastSyncStats value.

lastSyncTime

public OffsetDateTime lastSyncTime()

Get the lastSyncTime property: When the catalog was last synced.

Returns:

the lastSyncTime value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

syncState

public CatalogSyncState syncState()

Get the syncState property: The synchronization state of the catalog.

Returns:

the syncState value.

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:

adoGit

withGitHub

public CatalogProperties withGitHub(GitCatalog gitHub)

Set the gitHub property: Properties for a GitHub catalog type.

Overrides:

CatalogProperties.withGitHub(GitCatalog gitHub)

Parameters:

gitHub

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:

syncType

Applies to