GitCatalog Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. GitCatalog
- com.
Implements
public final class GitCatalog
implements JsonSerializable<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. |
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
| String |
path()
Get the path property: The folder where the catalog items can be found inside the repository. |
| String |
secretIdentifier()
Get the secret |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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:
fromJson
public static GitCatalog fromJson(JsonReader jsonReader)
Reads an instance of GitCatalog from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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: