GitCatalog Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.GitCatalog

public final class GitCatalog

Properties for a Git repository catalog.

Constructor Summary

Constructor Description
GitCatalog()

Creates an instance of GitCatalog class.

Method Summary

Modifier and Type Method and Description
String branch()

Get the branch property: Git branch.

String path()

Get the path property: The folder where the catalog items can be found inside the repository.

String secretIdentifier()

Get the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.

String uri()

Get the uri property: Git URI.

void validate()

Validates the instance.

GitCatalog withBranch(String branch)

Set the branch property: Git branch.

GitCatalog withPath(String path)

Set the path property: The folder where the catalog items can be found inside the repository.

GitCatalog withSecretIdentifier(String secretIdentifier)

Set the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.

GitCatalog withUri(String uri)

Set the uri property: Git URI.

Methods inherited from java.lang.Object

Constructor Details

GitCatalog

public GitCatalog()

Creates an instance of GitCatalog class.

Method Details

branch

public String branch()

Get the branch property: Git branch.

Returns:

the branch value.

path

public String path()

Get the path property: The folder where the catalog items can be found inside the repository.

Returns:

the path value.

secretIdentifier

public String secretIdentifier()

Get the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.

Returns:

the secretIdentifier value.

uri

public String uri()

Get the uri property: Git URI.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

withBranch

public GitCatalog withBranch(String branch)

Set the branch property: Git branch.

Parameters:

branch - the branch value to set.

Returns:

the GitCatalog object itself.

withPath

public GitCatalog withPath(String path)

Set the path property: The folder where the catalog items can be found inside the repository.

Parameters:

path - the path value to set.

Returns:

the GitCatalog object itself.

withSecretIdentifier

public GitCatalog withSecretIdentifier(String secretIdentifier)

Set the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.

Parameters:

secretIdentifier - the secretIdentifier value to set.

Returns:

the GitCatalog object itself.

withUri

public GitCatalog withUri(String uri)

Set the uri property: Git URI.

Parameters:

uri - the uri value to set.

Returns:

the GitCatalog object itself.

Applies to