WorkspaceRepositoryConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.WorkspaceRepositoryConfiguration

public final class WorkspaceRepositoryConfiguration

Git integration settings.

Constructor Summary

Constructor Description
WorkspaceRepositoryConfiguration()

Creates an instance of WorkspaceRepositoryConfiguration class.

Method Summary

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.

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:

the accountName value.

collaborationBranch

public String collaborationBranch()

Get the collaborationBranch property: Collaboration branch.

Returns:

the collaborationBranch value.

hostname

public String hostname()

Get the hostname property: GitHub Enterprise host name. For example: https://github.mydomain.com.

Returns:

the hostname value.

lastCommitId

public String lastCommitId()

Get the lastCommitId property: The last commit ID.

Returns:

the lastCommitId value.

projectName

public String projectName()

Get the projectName property: VSTS project name.

Returns:

the projectName value.

repositoryName

public String repositoryName()

Get the repositoryName property: Repository name.

Returns:

the repositoryName value.

rootFolder

public String rootFolder()

Get the rootFolder property: Root folder to use in the repository.

Returns:

the rootFolder value.

tenantId

public UUID tenantId()

Get the tenantId property: The VSTS tenant ID.

Returns:

the tenantId value.

type

public String type()

Get the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAccountName

public WorkspaceRepositoryConfiguration withAccountName(String accountName)

Set the accountName property: Account name.

Parameters:

accountName - the accountName value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

withCollaborationBranch

public WorkspaceRepositoryConfiguration withCollaborationBranch(String collaborationBranch)

Set the collaborationBranch property: Collaboration branch.

Parameters:

collaborationBranch - the collaborationBranch value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

withHostname

public WorkspaceRepositoryConfiguration withHostname(String hostname)

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.

withLastCommitId

public WorkspaceRepositoryConfiguration withLastCommitId(String lastCommitId)

Set the lastCommitId property: The last commit ID.

Parameters:

lastCommitId - the lastCommitId value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

withProjectName

public WorkspaceRepositoryConfiguration withProjectName(String projectName)

Set the projectName property: VSTS project name.

Parameters:

projectName - the projectName value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

withRepositoryName

public WorkspaceRepositoryConfiguration withRepositoryName(String repositoryName)

Set the repositoryName property: Repository name.

Parameters:

repositoryName - the repositoryName value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

withRootFolder

public WorkspaceRepositoryConfiguration withRootFolder(String rootFolder)

Set the rootFolder property: Root folder to use in the repository.

Parameters:

rootFolder - the rootFolder value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

withTenantId

public WorkspaceRepositoryConfiguration withTenantId(UUID tenantId)

Set the tenantId property: The VSTS tenant ID.

Parameters:

tenantId - the tenantId value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

withType

public WorkspaceRepositoryConfiguration withType(String type)

Set the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.

Parameters:

type - the type value to set.

Returns:

the WorkspaceRepositoryConfiguration object itself.

Applies to