Class FactoryRepoConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.FactoryRepoConfiguration
-
- Direct Known Subclasses:
FactoryGitHubConfiguration,FactoryVstsConfiguration
public class FactoryRepoConfiguration extends Object
Factory's git repo information.
-
-
Constructor Summary
Constructors Constructor Description FactoryRepoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountName()Get the accountName property: Account name.StringcollaborationBranch()Get the collaborationBranch property: Collaboration branch.StringlastCommitId()Get the lastCommitId property: Last commit id.StringrepositoryName()Get the repositoryName property: Repository name.StringrootFolder()Get the rootFolder property: Root folder.voidvalidate()Validates the instance.FactoryRepoConfigurationwithAccountName(String accountName)Set the accountName property: Account name.FactoryRepoConfigurationwithCollaborationBranch(String collaborationBranch)Set the collaborationBranch property: Collaboration branch.FactoryRepoConfigurationwithLastCommitId(String lastCommitId)Set the lastCommitId property: Last commit id.FactoryRepoConfigurationwithRepositoryName(String repositoryName)Set the repositoryName property: Repository name.FactoryRepoConfigurationwithRootFolder(String rootFolder)Set the rootFolder property: Root folder.
-
-
-
Method Detail
-
accountName
public String accountName()
Get the accountName property: Account name.- Returns:
- the accountName value.
-
withAccountName
public FactoryRepoConfiguration withAccountName(String accountName)
Set the accountName property: Account name.- Parameters:
accountName- the accountName value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
repositoryName
public String repositoryName()
Get the repositoryName property: Repository name.- Returns:
- the repositoryName value.
-
withRepositoryName
public FactoryRepoConfiguration withRepositoryName(String repositoryName)
Set the repositoryName property: Repository name.- Parameters:
repositoryName- the repositoryName value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
collaborationBranch
public String collaborationBranch()
Get the collaborationBranch property: Collaboration branch.- Returns:
- the collaborationBranch value.
-
withCollaborationBranch
public FactoryRepoConfiguration withCollaborationBranch(String collaborationBranch)
Set the collaborationBranch property: Collaboration branch.- Parameters:
collaborationBranch- the collaborationBranch value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
rootFolder
public String rootFolder()
Get the rootFolder property: Root folder.- Returns:
- the rootFolder value.
-
withRootFolder
public FactoryRepoConfiguration withRootFolder(String rootFolder)
Set the rootFolder property: Root folder.- Parameters:
rootFolder- the rootFolder value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
lastCommitId
public String lastCommitId()
Get the lastCommitId property: Last commit id.- Returns:
- the lastCommitId value.
-
withLastCommitId
public FactoryRepoConfiguration withLastCommitId(String lastCommitId)
Set the lastCommitId property: Last commit id.- Parameters:
lastCommitId- the lastCommitId value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-