public final class WorkspaceRepositoryConfiguration extends Object
Constructor and Description |
---|
WorkspaceRepositoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
accountName()
Get the accountName property: Account name.
|
String |
collaborationBranch()
Get the collaborationBranch property: Collaboration branch.
|
String |
hostname()
Get the hostname property: GitHub Enterprise host name.
|
String |
lastCommitId()
Get the lastCommitId property: The last commit ID.
|
String |
projectName()
Get the projectName property: VSTS project name.
|
String |
repositoryName()
Get the repositoryName property: Repository name.
|
String |
rootFolder()
Get the rootFolder property: Root folder to use in the repository.
|
UUID |
tenantId()
Get the tenantId property: The VSTS tenant ID.
|
String |
type()
Get the type property: Type of workspace repositoryID configuration.
|
void |
validate()
Validates the instance.
|
WorkspaceRepositoryConfiguration |
withAccountName(String accountName)
Set the accountName property: Account name.
|
WorkspaceRepositoryConfiguration |
withCollaborationBranch(String collaborationBranch)
Set the collaborationBranch property: Collaboration branch.
|
WorkspaceRepositoryConfiguration |
withHostname(String hostname)
Set the hostname property: GitHub Enterprise host name.
|
WorkspaceRepositoryConfiguration |
withLastCommitId(String lastCommitId)
Set the lastCommitId property: The last commit ID.
|
WorkspaceRepositoryConfiguration |
withProjectName(String projectName)
Set the projectName property: VSTS project name.
|
WorkspaceRepositoryConfiguration |
withRepositoryName(String repositoryName)
Set the repositoryName property: Repository name.
|
WorkspaceRepositoryConfiguration |
withRootFolder(String rootFolder)
Set the rootFolder property: Root folder to use in the repository.
|
WorkspaceRepositoryConfiguration |
withTenantId(UUID tenantId)
Set the tenantId property: The VSTS tenant ID.
|
WorkspaceRepositoryConfiguration |
withType(String type)
Set the type property: Type of workspace repositoryID configuration.
|
public String type()
public WorkspaceRepositoryConfiguration withType(String type)
type
- the type value to set.public String hostname()
public WorkspaceRepositoryConfiguration withHostname(String hostname)
hostname
- the hostname value to set.public String accountName()
public WorkspaceRepositoryConfiguration withAccountName(String accountName)
accountName
- the accountName value to set.public String projectName()
public WorkspaceRepositoryConfiguration withProjectName(String projectName)
projectName
- the projectName value to set.public String repositoryName()
public WorkspaceRepositoryConfiguration withRepositoryName(String repositoryName)
repositoryName
- the repositoryName value to set.public String collaborationBranch()
public WorkspaceRepositoryConfiguration withCollaborationBranch(String collaborationBranch)
collaborationBranch
- the collaborationBranch value to set.public String rootFolder()
public WorkspaceRepositoryConfiguration withRootFolder(String rootFolder)
rootFolder
- the rootFolder value to set.public String lastCommitId()
public WorkspaceRepositoryConfiguration withLastCommitId(String lastCommitId)
lastCommitId
- the lastCommitId value to set.public UUID tenantId()
public WorkspaceRepositoryConfiguration withTenantId(UUID tenantId)
tenantId
- the tenantId value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.