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 Summary
Constructors Constructor Description FactoryVstsConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprojectName()Get the projectName property: VSTS project name.StringtenantId()Get the tenantId property: VSTS tenant id.voidvalidate()Validates the instance.FactoryVstsConfigurationwithAccountName(String accountName)Set the accountName property: Account name.FactoryVstsConfigurationwithCollaborationBranch(String collaborationBranch)Set the collaborationBranch property: Collaboration branch.FactoryVstsConfigurationwithLastCommitId(String lastCommitId)Set the lastCommitId property: Last commit id.FactoryVstsConfigurationwithProjectName(String projectName)Set the projectName property: VSTS project name.FactoryVstsConfigurationwithRepositoryName(String repositoryName)Set the repositoryName property: Repository name.FactoryVstsConfigurationwithRootFolder(String rootFolder)Set the rootFolder property: Root folder.FactoryVstsConfigurationwithTenantId(String tenantId)Set the tenantId property: VSTS tenant id.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.FactoryRepoConfiguration
accountName, collaborationBranch, lastCommitId, repositoryName, rootFolder
-
-
-
-
Method Detail
-
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:
withAccountNamein classFactoryRepoConfiguration- 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:
withRepositoryNamein classFactoryRepoConfiguration- 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:
withCollaborationBranchin classFactoryRepoConfiguration- 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:
withRootFolderin classFactoryRepoConfiguration- 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:
withLastCommitIdin classFactoryRepoConfiguration- Parameters:
lastCommitId- the lastCommitId value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classFactoryRepoConfiguration- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-