Class FactoryVstsConfiguration

java.lang.Object
com.azure.resourcemanager.datafactory.models.FactoryRepoConfiguration
com.azure.resourcemanager.datafactory.models.FactoryVstsConfiguration

public final class FactoryVstsConfiguration extends FactoryRepoConfiguration
Factory's VSTS repo information.
  • Constructor Details

    • FactoryVstsConfiguration

      public FactoryVstsConfiguration()
  • Method Details

    • projectName

      public String projectName()
      Get the projectName property: VSTS project name.
      Returns:
      the projectName value.
    • withProjectName

      public FactoryVstsConfiguration withProjectName(String projectName)
      Set the projectName property: VSTS project name.
      Parameters:
      projectName - the projectName value to set.
      Returns:
      the FactoryVstsConfiguration object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: VSTS tenant id.
      Returns:
      the tenantId value.
    • withTenantId

      public FactoryVstsConfiguration withTenantId(String tenantId)
      Set the tenantId property: VSTS tenant id.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the FactoryVstsConfiguration object itself.
    • withAccountName

      public FactoryVstsConfiguration withAccountName(String accountName)
      Set the accountName property: Account name.
      Overrides:
      withAccountName in class FactoryRepoConfiguration
      Parameters:
      accountName - the accountName value to set.
      Returns:
      the FactoryRepoConfiguration object itself.
    • withRepositoryName

      public FactoryVstsConfiguration withRepositoryName(String repositoryName)
      Set the repositoryName property: Repository name.
      Overrides:
      withRepositoryName in class FactoryRepoConfiguration
      Parameters:
      repositoryName - the repositoryName value to set.
      Returns:
      the FactoryRepoConfiguration object itself.
    • withCollaborationBranch

      public FactoryVstsConfiguration withCollaborationBranch(String collaborationBranch)
      Set the collaborationBranch property: Collaboration branch.
      Overrides:
      withCollaborationBranch in class FactoryRepoConfiguration
      Parameters:
      collaborationBranch - the collaborationBranch value to set.
      Returns:
      the FactoryRepoConfiguration object itself.
    • withRootFolder

      public FactoryVstsConfiguration withRootFolder(String rootFolder)
      Set the rootFolder property: Root folder.
      Overrides:
      withRootFolder in class FactoryRepoConfiguration
      Parameters:
      rootFolder - the rootFolder value to set.
      Returns:
      the FactoryRepoConfiguration object itself.
    • withLastCommitId

      public FactoryVstsConfiguration withLastCommitId(String lastCommitId)
      Set the lastCommitId property: Last commit id.
      Overrides:
      withLastCommitId in class FactoryRepoConfiguration
      Parameters:
      lastCommitId - the lastCommitId value to set.
      Returns:
      the FactoryRepoConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class FactoryRepoConfiguration
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.