Class WorkspaceRepositoryConfiguration
java.lang.Object
com.azure.resourcemanager.synapse.models.WorkspaceRepositoryConfiguration
Git integration settings.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkspaceRepositoryConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accountName property: Account name.Get the collaborationBranch property: Collaboration branch.hostname()
Get the hostname property: GitHub Enterprise host name.Get the lastCommitId property: The last commit ID.Get the projectName property: VSTS project name.Get the repositoryName property: Repository name.Get the rootFolder property: Root folder to use in the repository.tenantId()
Get the tenantId property: The VSTS tenant ID.type()
Get the type property: Type of workspace repositoryID configuration.void
validate()
Validates the instance.withAccountName
(String accountName) Set the accountName property: Account name.withCollaborationBranch
(String collaborationBranch) Set the collaborationBranch property: Collaboration branch.withHostname
(String hostname) Set the hostname property: GitHub Enterprise host name.withLastCommitId
(String lastCommitId) Set the lastCommitId property: The last commit ID.withProjectName
(String projectName) Set the projectName property: VSTS project name.withRepositoryName
(String repositoryName) Set the repositoryName property: Repository name.withRootFolder
(String rootFolder) Set the rootFolder property: Root folder to use in the repository.withTenantId
(UUID tenantId) Set the tenantId property: The VSTS tenant ID.Set the type property: Type of workspace repositoryID configuration.
-
Constructor Details
-
WorkspaceRepositoryConfiguration
public WorkspaceRepositoryConfiguration()Creates an instance of WorkspaceRepositoryConfiguration class.
-
-
Method Details
-
type
Get the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.- Returns:
- the type value.
-
withType
Set the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.- Parameters:
type
- the type value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
hostname
Get the hostname property: GitHub Enterprise host name. For example: https://github.mydomain.com.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: GitHub Enterprise host name. For example: https://github.mydomain.com.- Parameters:
hostname
- the hostname value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
accountName
Get the accountName property: Account name.- Returns:
- the accountName value.
-
withAccountName
Set the accountName property: Account name.- Parameters:
accountName
- the accountName value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
projectName
Get the projectName property: VSTS project name.- Returns:
- the projectName value.
-
withProjectName
Set the projectName property: VSTS project name.- Parameters:
projectName
- the projectName value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
repositoryName
Get the repositoryName property: Repository name.- Returns:
- the repositoryName value.
-
withRepositoryName
Set the repositoryName property: Repository name.- Parameters:
repositoryName
- the repositoryName value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
collaborationBranch
Get the collaborationBranch property: Collaboration branch.- Returns:
- the collaborationBranch value.
-
withCollaborationBranch
Set the collaborationBranch property: Collaboration branch.- Parameters:
collaborationBranch
- the collaborationBranch value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
rootFolder
Get the rootFolder property: Root folder to use in the repository.- Returns:
- the rootFolder value.
-
withRootFolder
Set the rootFolder property: Root folder to use in the repository.- Parameters:
rootFolder
- the rootFolder value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
lastCommitId
Get the lastCommitId property: The last commit ID.- Returns:
- the lastCommitId value.
-
withLastCommitId
Set the lastCommitId property: The last commit ID.- Parameters:
lastCommitId
- the lastCommitId value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
tenantId
Get the tenantId property: The VSTS tenant ID.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The VSTS tenant ID.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the WorkspaceRepositoryConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-