Class FactoryGitHubConfiguration
java.lang.Object
com.azure.resourcemanager.datafactory.models.FactoryRepoConfiguration
com.azure.resourcemanager.datafactory.models.FactoryGitHubConfiguration
Factory's GitHub repo information.
-
Constructor Summary
ConstructorDescriptionCreates an instance of FactoryGitHubConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()
Get the clientId property: GitHub bring your own app client id.Get the clientSecret property: GitHub bring your own app client secret information.hostname()
Get the hostname property: GitHub Enterprise host name.void
validate()
Validates the instance.withAccountName
(String accountName) Set the accountName property: Account name.withClientId
(String clientId) Set the clientId property: GitHub bring your own app client id.withClientSecret
(GitHubClientSecret clientSecret) Set the clientSecret property: GitHub bring your own app client secret information.withCollaborationBranch
(String collaborationBranch) Set the collaborationBranch property: Collaboration branch.withDisablePublish
(Boolean disablePublish) Set the disablePublish property: Disable manual publish operation in ADF studio to favor automated publish.withHostname
(String hostname) Set the hostname property: GitHub Enterprise host name.withLastCommitId
(String lastCommitId) Set the lastCommitId property: Last commit id.withRepositoryName
(String repositoryName) Set the repositoryName property: Repository name.withRootFolder
(String rootFolder) Set the rootFolder property: Root folder.Methods inherited from class com.azure.resourcemanager.datafactory.models.FactoryRepoConfiguration
accountName, collaborationBranch, disablePublish, lastCommitId, repositoryName, rootFolder
-
Constructor Details
-
FactoryGitHubConfiguration
public FactoryGitHubConfiguration()Creates an instance of FactoryGitHubConfiguration class.
-
-
Method Details
-
hostname
Get the hostname property: GitHub Enterprise host name. For example: `https://github.mydomain.com`.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: GitHub Enterprise host name. For example: `https://github.mydomain.com`.- Parameters:
hostname
- the hostname value to set.- Returns:
- the FactoryGitHubConfiguration object itself.
-
clientId
Get the clientId property: GitHub bring your own app client id.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: GitHub bring your own app client id.- Parameters:
clientId
- the clientId value to set.- Returns:
- the FactoryGitHubConfiguration object itself.
-
clientSecret
Get the clientSecret property: GitHub bring your own app client secret information.- Returns:
- the clientSecret value.
-
withClientSecret
Set the clientSecret property: GitHub bring your own app client secret information.- Parameters:
clientSecret
- the clientSecret value to set.- Returns:
- the FactoryGitHubConfiguration object itself.
-
withAccountName
Set the accountName property: Account name.- Overrides:
withAccountName
in classFactoryRepoConfiguration
- Parameters:
accountName
- the accountName value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
withRepositoryName
Set the repositoryName property: Repository name.- Overrides:
withRepositoryName
in classFactoryRepoConfiguration
- Parameters:
repositoryName
- the repositoryName value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
withCollaborationBranch
Set the collaborationBranch property: Collaboration branch.- Overrides:
withCollaborationBranch
in classFactoryRepoConfiguration
- Parameters:
collaborationBranch
- the collaborationBranch value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
withRootFolder
Set the rootFolder property: Root folder.- Overrides:
withRootFolder
in classFactoryRepoConfiguration
- Parameters:
rootFolder
- the rootFolder value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
withLastCommitId
Set the lastCommitId property: Last commit id.- Overrides:
withLastCommitId
in classFactoryRepoConfiguration
- Parameters:
lastCommitId
- the lastCommitId value to set.- Returns:
- the FactoryRepoConfiguration object itself.
-
withDisablePublish
Set the disablePublish property: Disable manual publish operation in ADF studio to favor automated publish.- Overrides:
withDisablePublish
in classFactoryRepoConfiguration
- Parameters:
disablePublish
- the disablePublish 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.
-