Class IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.iam_workforce_pool_provider.IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IamWorkforcePoolProviderExtraAttributesOauth2Client>
- Enclosing interface:
- IamWorkforcePoolProviderExtraAttributesOauth2Client
@Stability(Stable) public static final class IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder extends Object implements software.amazon.jsii.Builder<IamWorkforcePoolProviderExtraAttributesOauth2Client>
A builder forIamWorkforcePoolProviderExtraAttributesOauth2Client
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
attributesType
@Stability(Stable) public IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder attributesType(String attributesType)
Sets the value ofIamWorkforcePoolProviderExtraAttributesOauth2Client.getAttributesType()- Parameters:
attributesType- Represents the IdP and type of claims that should be fetched. This parameter is required. * AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping. See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on 'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'. Possible values: ["AZURE_AD_GROUPS_MAIL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#attributes_type IamWorkforcePoolProvider#attributes_type}- Returns:
this
-
clientId
@Stability(Stable) public IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder clientId(String clientId)
Sets the value ofIamWorkforcePoolProviderExtraAttributesOauth2Client.getClientId()- Parameters:
clientId- The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#client_id IamWorkforcePoolProvider#client_id}- Returns:
this
-
clientSecret
@Stability(Stable) public IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder clientSecret(IamWorkforcePoolProviderExtraAttributesOauth2ClientClientSecret clientSecret)
Sets the value ofIamWorkforcePoolProviderExtraAttributesOauth2Client.getClientSecret()- Parameters:
clientSecret- client_secret block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#client_secret IamWorkforcePoolProvider#client_secret}- Returns:
this
-
issuerUri
@Stability(Stable) public IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder issuerUri(String issuerUri)
Sets the value ofIamWorkforcePoolProviderExtraAttributesOauth2Client.getIssuerUri()- Parameters:
issuerUri- The OIDC identity provider's issuer URI. This parameter is required. Must be a valid URI using the 'https' scheme. Required to get the OIDC discovery document. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#issuer_uri IamWorkforcePoolProvider#issuer_uri}- Returns:
this
-
queryParameters
@Stability(Stable) public IamWorkforcePoolProviderExtraAttributesOauth2Client.Builder queryParameters(IamWorkforcePoolProviderExtraAttributesOauth2ClientQueryParameters queryParameters)
Sets the value ofIamWorkforcePoolProviderExtraAttributesOauth2Client.getQueryParameters()- Parameters:
queryParameters- query_parameters block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workforce_pool_provider#query_parameters IamWorkforcePoolProvider#query_parameters}- Returns:
this
-
build
@Stability(Stable) public IamWorkforcePoolProviderExtraAttributesOauth2Client build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IamWorkforcePoolProviderExtraAttributesOauth2Client>- Returns:
- a new instance of
IamWorkforcePoolProviderExtraAttributesOauth2Client - Throws:
NullPointerException- if any required attribute was not provided
-
-