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 String
projectName()
Get the projectName property: VSTS project name.String
tenantId()
Get the tenantId property: VSTS tenant id.void
validate()
Validates the instance.FactoryVstsConfiguration
withAccountName(String accountName)
Set the accountName property: Account name.FactoryVstsConfiguration
withCollaborationBranch(String collaborationBranch)
Set the collaborationBranch property: Collaboration branch.FactoryVstsConfiguration
withLastCommitId(String lastCommitId)
Set the lastCommitId property: Last commit id.FactoryVstsConfiguration
withProjectName(String projectName)
Set the projectName property: VSTS project name.FactoryVstsConfiguration
withRepositoryName(String repositoryName)
Set the repositoryName property: Repository name.FactoryVstsConfiguration
withRootFolder(String rootFolder)
Set the rootFolder property: Root folder.FactoryVstsConfiguration
withTenantId(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:
withAccountName
in 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:
withRepositoryName
in 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:
withCollaborationBranch
in 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:
withRootFolder
in 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:
withLastCommitId
in classFactoryRepoConfiguration
- Parameters:
lastCommitId
- the lastCommitId value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classFactoryRepoConfiguration
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-