Class GitHubWorkflowProfileOidcCredentials

java.lang.Object
com.azure.resourcemanager.devhub.models.GitHubWorkflowProfileOidcCredentials

public final class GitHubWorkflowProfileOidcCredentials extends Object
The fields needed for OIDC with GitHub.
  • Constructor Details

    • GitHubWorkflowProfileOidcCredentials

      public GitHubWorkflowProfileOidcCredentials()
  • Method Details

    • azureClientId

      public String azureClientId()
      Get the azureClientId property: Azure Application Client ID.
      Returns:
      the azureClientId value.
    • withAzureClientId

      public GitHubWorkflowProfileOidcCredentials withAzureClientId(String azureClientId)
      Set the azureClientId property: Azure Application Client ID.
      Parameters:
      azureClientId - the azureClientId value to set.
      Returns:
      the GitHubWorkflowProfileOidcCredentials object itself.
    • azureTenantId

      public String azureTenantId()
      Get the azureTenantId property: Azure Directory (tenant) ID.
      Returns:
      the azureTenantId value.
    • withAzureTenantId

      public GitHubWorkflowProfileOidcCredentials withAzureTenantId(String azureTenantId)
      Set the azureTenantId property: Azure Directory (tenant) ID.
      Parameters:
      azureTenantId - the azureTenantId value to set.
      Returns:
      the GitHubWorkflowProfileOidcCredentials object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.