Class GitCatalog
java.lang.Object
com.azure.resourcemanager.devcenter.models.GitCatalog
Properties for a Git repository catalog.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbranch()
Get the branch property: Git branch.path()
Get the path property: The folder where the catalog items can be found inside the repository.Get the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.uri()
Get the uri property: Git URI.void
validate()
Validates the instance.withBranch
(String branch) Set the branch property: Git branch.Set the path property: The folder where the catalog items can be found inside the repository.withSecretIdentifier
(String secretIdentifier) Set the secretIdentifier property: A reference to the Key Vault secret containing a security token to authenticate to a Git repository.Set the uri property: Git URI.
-
Constructor Details
-
GitCatalog
public GitCatalog()Creates an instance of GitCatalog class.
-
-
Method Details
-
uri
Get the uri property: Git URI.- Returns:
- the uri value.
-
withUri
Set the uri property: Git URI.- Parameters:
uri
- the uri value to set.- Returns:
- the GitCatalog object itself.
-
branch
Get the branch property: Git branch.- Returns:
- the branch value.
-
withBranch
Set the branch property: Git branch.- Parameters:
branch
- the branch value to set.- Returns:
- the GitCatalog object itself.
-
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.
-
withSecretIdentifier
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.
-
path
Get the path property: The folder where the catalog items can be found inside the repository.- Returns:
- the path value.
-
withPath
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-