CatalogInner Class

public final class CatalogInner
extends ProxyResource

Represents a catalog.

Constructor Summary

Constructor Description
CatalogInner()

Creates an instance of CatalogInner class.

Method Summary

Modifier and Type Method and Description
GitCatalog adoGit()

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

CatalogConnectionState connectionState()

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

GitCatalog gitHub()

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

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.

CatalogSyncType syncType()

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

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,String> tags()

Get the tags property: Resource tags.

void validate()

Validates the instance.

CatalogInner withAdoGit(GitCatalog adoGit)

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

CatalogInner withGitHub(GitCatalog gitHub)

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

CatalogInner withSyncType(CatalogSyncType syncType)

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

CatalogInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CatalogInner

public CatalogInner()

Creates an instance of CatalogInner class.

Method Details

adoGit

public GitCatalog adoGit()

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

Returns:

the adoGit value.

connectionState

public CatalogConnectionState connectionState()

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

Returns:

the connectionState value.

gitHub

public GitCatalog gitHub()

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

Returns:

the gitHub 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.

syncType

public CatalogSyncType syncType()

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

Returns:

the syncType value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map tags()

Get the tags property: Resource tags.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

withAdoGit

public CatalogInner withAdoGit(GitCatalog adoGit)

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

Parameters:

adoGit - the adoGit value to set.

Returns:

the CatalogInner object itself.

withGitHub

public CatalogInner withGitHub(GitCatalog gitHub)

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

Parameters:

gitHub - the gitHub value to set.

Returns:

the CatalogInner object itself.

withSyncType

public CatalogInner withSyncType(CatalogSyncType syncType)

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

Parameters:

syncType - the syncType value to set.

Returns:

the CatalogInner object itself.

withTags

public CatalogInner withTags(Map tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the CatalogInner object itself.

Applies to