WorkspaceRepositoryConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. WorkspaceRepositoryConfiguration
- com.
public final class WorkspaceRepositoryConfiguration
Git integration settings.
Constructor Summary
Constructor | Description |
---|---|
WorkspaceRepositoryConfiguration() |
Creates an instance of Workspace |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountName()
Get the account |
String |
collaborationBranch()
Get the collaboration |
String |
hostname()
Get the hostname property: Git |
String |
lastCommitId()
Get the last |
String |
projectName()
Get the project |
String |
repositoryName()
Get the repository |
String |
rootFolder()
Get the root |
UUID |
tenantId()
Get the tenant |
String |
type()
Get the type property: Type of workspace repositoryID configuration. |
void |
validate()
Validates the instance. |
Workspace |
withAccountName(String accountName)
Set the account |
Workspace |
withCollaborationBranch(String collaborationBranch)
Set the collaboration |
Workspace |
withHostname(String hostname)
Set the hostname property: Git |
Workspace |
withLastCommitId(String lastCommitId)
Set the last |
Workspace |
withProjectName(String projectName)
Set the project |
Workspace |
withRepositoryName(String repositoryName)
Set the repository |
Workspace |
withRootFolder(String rootFolder)
Set the root |
Workspace |
withTenantId(UUID tenantId)
Set the tenant |
Workspace |
withType(String type)
Set the type property: Type of workspace repositoryID configuration. |
Methods inherited from java.lang.Object
Constructor Details
WorkspaceRepositoryConfiguration
public WorkspaceRepositoryConfiguration()
Creates an instance of WorkspaceRepositoryConfiguration class.
Method Details
accountName
public String accountName()
Get the accountName property: Account name.
Returns:
collaborationBranch
public String collaborationBranch()
Get the collaborationBranch property: Collaboration branch.
Returns:
hostname
public String hostname()
Get the hostname property: GitHub Enterprise host name. For example: https://github.mydomain.com.
Returns:
lastCommitId
public String lastCommitId()
Get the lastCommitId property: The last commit ID.
Returns:
projectName
public String projectName()
Get the projectName property: VSTS project name.
Returns:
repositoryName
public String repositoryName()
Get the repositoryName property: Repository name.
Returns:
rootFolder
public String rootFolder()
Get the rootFolder property: Root folder to use in the repository.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The VSTS tenant ID.
Returns:
type
public String type()
Get the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.
Returns:
validate
public void validate()
Validates the instance.
withAccountName
public WorkspaceRepositoryConfiguration withAccountName(String accountName)
Set the accountName property: Account name.
Parameters:
Returns:
withCollaborationBranch
public WorkspaceRepositoryConfiguration withCollaborationBranch(String collaborationBranch)
Set the collaborationBranch property: Collaboration branch.
Parameters:
Returns:
withHostname
public WorkspaceRepositoryConfiguration withHostname(String hostname)
Set the hostname property: GitHub Enterprise host name. For example: https://github.mydomain.com.
Parameters:
Returns:
withLastCommitId
public WorkspaceRepositoryConfiguration withLastCommitId(String lastCommitId)
Set the lastCommitId property: The last commit ID.
Parameters:
Returns:
withProjectName
public WorkspaceRepositoryConfiguration withProjectName(String projectName)
Set the projectName property: VSTS project name.
Parameters:
Returns:
withRepositoryName
public WorkspaceRepositoryConfiguration withRepositoryName(String repositoryName)
Set the repositoryName property: Repository name.
Parameters:
Returns:
withRootFolder
public WorkspaceRepositoryConfiguration withRootFolder(String rootFolder)
Set the rootFolder property: Root folder to use in the repository.
Parameters:
Returns:
withTenantId
public WorkspaceRepositoryConfiguration withTenantId(UUID tenantId)
Set the tenantId property: The VSTS tenant ID.
Parameters:
Returns:
withType
public WorkspaceRepositoryConfiguration withType(String type)
Set the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.
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