Class GitHubWorkflowProfileOidcCredentials
java.lang.Object
com.azure.resourcemanager.devhub.models.GitHubWorkflowProfileOidcCredentials
The fields needed for OIDC with GitHub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureClientId property: Azure Application Client ID.Get the azureTenantId property: Azure Directory (tenant) ID.void
validate()
Validates the instance.withAzureClientId
(String azureClientId) Set the azureClientId property: Azure Application Client ID.withAzureTenantId
(String azureTenantId) Set the azureTenantId property: Azure Directory (tenant) ID.
-
Constructor Details
-
GitHubWorkflowProfileOidcCredentials
public GitHubWorkflowProfileOidcCredentials()
-
-
Method Details
-
azureClientId
Get the azureClientId property: Azure Application Client ID.- Returns:
- the azureClientId value.
-
withAzureClientId
Set the azureClientId property: Azure Application Client ID.- Parameters:
azureClientId
- the azureClientId value to set.- Returns:
- the GitHubWorkflowProfileOidcCredentials object itself.
-
azureTenantId
Get the azureTenantId property: Azure Directory (tenant) ID.- Returns:
- the azureTenantId value.
-
withAzureTenantId
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.
-