Class GitHubAccessTokenRequest

java.lang.Object
com.azure.resourcemanager.datafactory.models.GitHubAccessTokenRequest

public final class GitHubAccessTokenRequest extends Object
Get GitHub access token request definition.
  • Constructor Details

    • GitHubAccessTokenRequest

      public GitHubAccessTokenRequest()
      Creates an instance of GitHubAccessTokenRequest class.
  • Method Details

    • 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.