FactoryGitHubConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. FactoryRepoConfiguration - com.
azure. resourcemanager. datafactory. models. FactoryGitHubConfiguration
- com.
- com.
public final class FactoryGitHubConfiguration
extends FactoryRepoConfiguration
Factory's GitHub repo information.
Constructor Summary
| Constructor | Description |
|---|---|
| FactoryGitHubConfiguration() |
Creates an instance of Factory |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
clientId()
Get the client |
|
Git |
clientSecret()
Get the client |
|
static
Factory |
fromJson(JsonReader jsonReader)
Reads an instance of Factory |
| String |
hostname()
Get the hostname property: Git |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of repo configuration. |
| void |
validate()
Validates the instance. |
|
Factory |
withAccountName(String accountName)
Set the account |
|
Factory |
withClientId(String clientId)
Set the client |
|
Factory |
withClientSecret(GitHubClientSecret clientSecret)
Set the client |
|
Factory |
withCollaborationBranch(String collaborationBranch)
Set the collaboration |
|
Factory |
withDisablePublish(Boolean disablePublish)
Set the disable |
|
Factory |
withHostname(String hostname)
Set the hostname property: Git |
|
Factory |
withLastCommitId(String lastCommitId)
Set the last |
|
Factory |
withRepositoryName(String repositoryName)
Set the repository |
|
Factory |
withRootFolder(String rootFolder)
Set the root |
Methods inherited from FactoryRepoConfiguration
Methods inherited from java.lang.Object
Constructor Details
FactoryGitHubConfiguration
public FactoryGitHubConfiguration()
Creates an instance of FactoryGitHubConfiguration class.
Method Details
clientId
public String clientId()
Get the clientId property: GitHub bring your own app client id.
Returns:
clientSecret
public GitHubClientSecret clientSecret()
Get the clientSecret property: GitHub bring your own app client secret information.
Returns:
fromJson
public static FactoryGitHubConfiguration fromJson(JsonReader jsonReader)
Reads an instance of FactoryGitHubConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: GitHub Enterprise host name. For example: `https://github.mydomain.com`.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FactoryGitHubConfiguration.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of repo configuration.
Overrides:
FactoryGitHubConfiguration.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
FactoryGitHubConfiguration.validate()withAccountName
public FactoryGitHubConfiguration withAccountName(String accountName)
Set the accountName property: Account name.
Overrides:
FactoryGitHubConfiguration.withAccountName(String accountName)Parameters:
withClientId
public FactoryGitHubConfiguration withClientId(String clientId)
Set the clientId property: GitHub bring your own app client id.
Parameters:
Returns:
withClientSecret
public FactoryGitHubConfiguration withClientSecret(GitHubClientSecret clientSecret)
Set the clientSecret property: GitHub bring your own app client secret information.
Parameters:
Returns:
withCollaborationBranch
public FactoryGitHubConfiguration withCollaborationBranch(String collaborationBranch)
Set the collaborationBranch property: Collaboration branch.
Overrides:
FactoryGitHubConfiguration.withCollaborationBranch(String collaborationBranch)Parameters:
withDisablePublish
public FactoryGitHubConfiguration withDisablePublish(Boolean disablePublish)
Set the disablePublish property: Disable manual publish operation in ADF studio to favor automated publish.
Overrides:
FactoryGitHubConfiguration.withDisablePublish(Boolean disablePublish)Parameters:
withHostname
public FactoryGitHubConfiguration withHostname(String hostname)
Set the hostname property: GitHub Enterprise host name. For example: `https://github.mydomain.com`.
Parameters:
Returns:
withLastCommitId
public FactoryGitHubConfiguration withLastCommitId(String lastCommitId)
Set the lastCommitId property: Last commit id.
Overrides:
FactoryGitHubConfiguration.withLastCommitId(String lastCommitId)Parameters:
withRepositoryName
public FactoryGitHubConfiguration withRepositoryName(String repositoryName)
Set the repositoryName property: Repository name.
Overrides:
FactoryGitHubConfiguration.withRepositoryName(String repositoryName)Parameters:
withRootFolder
public FactoryGitHubConfiguration withRootFolder(String rootFolder)
Set the rootFolder property: Root folder.
Overrides:
FactoryGitHubConfiguration.withRootFolder(String rootFolder)Parameters: