Class GitHubAccessTokenRequest
java.lang.Object
com.azure.resourcemanager.datafactory.models.GitHubAccessTokenRequest
Get GitHub access token request definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GitHubAccessTokenRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the gitHubAccessCode property: GitHub access code.Get the gitHubAccessTokenBaseUrl property: GitHub access token base URL.Get the gitHubClientId property: GitHub application client ID.Get the gitHubClientSecret property: GitHub bring your own app client secret information.void
validate()
Validates the instance.withGitHubAccessCode
(String gitHubAccessCode) Set the gitHubAccessCode property: GitHub access code.withGitHubAccessTokenBaseUrl
(String gitHubAccessTokenBaseUrl) Set the gitHubAccessTokenBaseUrl property: GitHub access token base URL.withGitHubClientId
(String gitHubClientId) Set the gitHubClientId property: GitHub application client ID.withGitHubClientSecret
(GitHubClientSecret gitHubClientSecret) Set the gitHubClientSecret property: GitHub bring your own app client secret information.
-
Constructor Details
-
GitHubAccessTokenRequest
public GitHubAccessTokenRequest()Creates an instance of GitHubAccessTokenRequest class.
-
-
Method Details
-
gitHubAccessCode
Get the gitHubAccessCode property: GitHub access code.- Returns:
- the gitHubAccessCode value.
-
withGitHubAccessCode
Set the gitHubAccessCode property: GitHub access code.- Parameters:
gitHubAccessCode
- the gitHubAccessCode value to set.- Returns:
- the GitHubAccessTokenRequest object itself.
-
gitHubClientId
Get the gitHubClientId property: GitHub application client ID.- Returns:
- the gitHubClientId value.
-
withGitHubClientId
Set the gitHubClientId property: GitHub application client ID.- Parameters:
gitHubClientId
- the gitHubClientId value to set.- Returns:
- the GitHubAccessTokenRequest object itself.
-
gitHubClientSecret
Get the gitHubClientSecret property: GitHub bring your own app client secret information.- Returns:
- the gitHubClientSecret value.
-
withGitHubClientSecret
Set the gitHubClientSecret property: GitHub bring your own app client secret information.- Parameters:
gitHubClientSecret
- the gitHubClientSecret value to set.- Returns:
- the GitHubAccessTokenRequest object itself.
-
gitHubAccessTokenBaseUrl
Get the gitHubAccessTokenBaseUrl property: GitHub access token base URL.- Returns:
- the gitHubAccessTokenBaseUrl value.
-
withGitHubAccessTokenBaseUrl
Set the gitHubAccessTokenBaseUrl property: GitHub access token base URL.- Parameters:
gitHubAccessTokenBaseUrl
- the gitHubAccessTokenBaseUrl value to set.- Returns:
- the GitHubAccessTokenRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-