Class GitHubAccessTokenRequest
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.GitHubAccessTokenRequest
-
public final class GitHubAccessTokenRequest extends Object
Get GitHub access token request definition.
-
-
Constructor Summary
Constructors Constructor Description GitHubAccessTokenRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgitHubAccessCode()Get the gitHubAccessCode property: GitHub access code.StringgitHubAccessTokenBaseUrl()Get the gitHubAccessTokenBaseUrl property: GitHub access token base URL.StringgitHubClientId()Get the gitHubClientId property: GitHub application client ID.GitHubClientSecretgitHubClientSecret()Get the gitHubClientSecret property: GitHub bring your own app client secret information.voidvalidate()Validates the instance.GitHubAccessTokenRequestwithGitHubAccessCode(String gitHubAccessCode)Set the gitHubAccessCode property: GitHub access code.GitHubAccessTokenRequestwithGitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl)Set the gitHubAccessTokenBaseUrl property: GitHub access token base URL.GitHubAccessTokenRequestwithGitHubClientId(String gitHubClientId)Set the gitHubClientId property: GitHub application client ID.GitHubAccessTokenRequestwithGitHubClientSecret(GitHubClientSecret gitHubClientSecret)Set the gitHubClientSecret property: GitHub bring your own app client secret information.
-
-
-
Method Detail
-
gitHubAccessCode
public String gitHubAccessCode()
Get the gitHubAccessCode property: GitHub access code.- Returns:
- the gitHubAccessCode value.
-
withGitHubAccessCode
public GitHubAccessTokenRequest withGitHubAccessCode(String gitHubAccessCode)
Set the gitHubAccessCode property: GitHub access code.- Parameters:
gitHubAccessCode- the gitHubAccessCode value to set.- Returns:
- the GitHubAccessTokenRequest object itself.
-
gitHubClientId
public String gitHubClientId()
Get the gitHubClientId property: GitHub application client ID.- Returns:
- the gitHubClientId value.
-
withGitHubClientId
public GitHubAccessTokenRequest withGitHubClientId(String gitHubClientId)
Set the gitHubClientId property: GitHub application client ID.- Parameters:
gitHubClientId- the gitHubClientId value to set.- Returns:
- the GitHubAccessTokenRequest object itself.
-
gitHubClientSecret
public GitHubClientSecret gitHubClientSecret()
Get the gitHubClientSecret property: GitHub bring your own app client secret information.- Returns:
- the gitHubClientSecret value.
-
withGitHubClientSecret
public GitHubAccessTokenRequest withGitHubClientSecret(GitHubClientSecret gitHubClientSecret)
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
public String gitHubAccessTokenBaseUrl()
Get the gitHubAccessTokenBaseUrl property: GitHub access token base URL.- Returns:
- the gitHubAccessTokenBaseUrl value.
-
withGitHubAccessTokenBaseUrl
public GitHubAccessTokenRequest withGitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl)
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.
-
-