CatalogUpdateProperties Class

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

public class CatalogUpdateProperties

Properties of a catalog. These properties can be updated after the resource has been created.

Constructor Summary

Constructor Description
CatalogUpdateProperties()

Creates an instance of CatalogUpdateProperties class.

Method Summary

Modifier and Type Method and Description
GitCatalog adoGit()

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

GitCatalog gitHub()

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

CatalogSyncType syncType()

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

Map<String,String> tags()

Get the tags property: Resource tags.

void validate()

Validates the instance.

CatalogUpdateProperties withAdoGit(GitCatalog adoGit)

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

CatalogUpdateProperties withGitHub(GitCatalog gitHub)

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

CatalogUpdateProperties withSyncType(CatalogSyncType syncType)

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

CatalogUpdateProperties withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

CatalogUpdateProperties

public CatalogUpdateProperties()

Creates an instance of CatalogUpdateProperties class.

Method Details

adoGit

public GitCatalog adoGit()

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

Returns:

the adoGit value.

gitHub

public GitCatalog gitHub()

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

Returns:

the gitHub value.

syncType

public CatalogSyncType syncType()

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

Returns:

the syncType value.

tags

public Map tags()

Get the tags property: Resource tags.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

withAdoGit

public CatalogUpdateProperties withAdoGit(GitCatalog adoGit)

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

Parameters:

adoGit - the adoGit value to set.

Returns:

the CatalogUpdateProperties object itself.

withGitHub

public CatalogUpdateProperties withGitHub(GitCatalog gitHub)

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

Parameters:

gitHub - the gitHub value to set.

Returns:

the CatalogUpdateProperties object itself.

withSyncType

public CatalogUpdateProperties 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 CatalogUpdateProperties object itself.

withTags

public CatalogUpdateProperties withTags(Map tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the CatalogUpdateProperties object itself.

Applies to