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 String
accountName()
Get the accountName property: Account name.String
collaborationBranch()
Get the collaborationBranch property: Collaboration branch.String
lastCommitId()
Get the lastCommitId property: Last commit id.String
repositoryName()
Get the repositoryName property: Repository name.String
rootFolder()
Get the rootFolder property: Root folder.void
validate()
Validates the instance.FactoryRepoConfiguration
withAccountName(String accountName)
Set the accountName property: Account name.FactoryRepoConfiguration
withCollaborationBranch(String collaborationBranch)
Set the collaborationBranch property: Collaboration branch.FactoryRepoConfiguration
withLastCommitId(String lastCommitId)
Set the lastCommitId property: Last commit id.FactoryRepoConfiguration
withRepositoryName(String repositoryName)
Set the repositoryName property: Repository name.FactoryRepoConfiguration
withRootFolder(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.
-
-