public final class GitRepoVolume extends Object
| Constructor and Description |
|---|
GitRepoVolume() |
| Modifier and Type | Method and Description |
|---|---|
String |
directory()
Get the directory property: Target directory name.
|
String |
repository()
Get the repository property: Repository URL.
|
String |
revision()
Get the revision property: Commit hash for the specified revision.
|
void |
validate()
Validates the instance.
|
GitRepoVolume |
withDirectory(String directory)
Set the directory property: Target directory name.
|
GitRepoVolume |
withRepository(String repository)
Set the repository property: Repository URL.
|
GitRepoVolume |
withRevision(String revision)
Set the revision property: Commit hash for the specified revision.
|
public String directory()
public GitRepoVolume withDirectory(String directory)
directory - the directory value to set.public String repository()
public GitRepoVolume withRepository(String repository)
repository - the repository value to set.public String revision()
public GitRepoVolume withRevision(String revision)
revision - the revision value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.