GitCatalog Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. GitCatalog
- com.
public final class GitCatalog
Properties for a Git repository catalog.
Constructor Summary
Constructor | Description |
---|---|
GitCatalog() |
Creates an instance of Git |
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 secret |
String |
uri()
Get the uri property: Git URI. |
void |
validate()
Validates the instance. |
Git |
withBranch(String branch)
Set the branch property: Git branch. |
Git |
withPath(String path)
Set the path property: The folder where the catalog items can be found inside the repository. |
Git |
withSecretIdentifier(String secretIdentifier)
Set the secret |
Git |
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:
path
public String path()
Get the path property: The folder where the catalog items can be found inside the repository.
Returns:
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:
uri
public String uri()
Get the uri property: Git URI.
Returns:
validate
public void validate()
Validates the instance.
withBranch
public GitCatalog withBranch(String branch)
Set the branch property: Git branch.
Parameters:
Returns:
withPath
public GitCatalog withPath(String path)
Set the path property: The folder where the catalog items can be found inside the repository.
Parameters:
Returns:
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:
Returns:
withUri
public GitCatalog withUri(String uri)
Set the uri property: Git URI.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for