Class IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integrations_auth_config.IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode>
- Enclosing interface:
- IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode
@Stability(Stable) public static final class IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder extends Object implements software.amazon.jsii.Builder<IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.BuilderauthEndpoint(String authEndpoint)IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCodebuild()Builds the configured instance.IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.BuilderclientId(String clientId)IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.BuilderclientSecret(String clientSecret)IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builderscope(String scope)IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.BuildertokenEndpoint(String tokenEndpoint)
-
-
-
Method Detail
-
authEndpoint
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder authEndpoint(String authEndpoint)
Sets the value ofIntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.getAuthEndpoint()- Parameters:
authEndpoint- The auth url endpoint to send the auth code request to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#auth_endpoint IntegrationsAuthConfig#auth_endpoint}- Returns:
this
-
clientId
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder clientId(String clientId)
- Parameters:
clientId- The client's id. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#client_id IntegrationsAuthConfig#client_id}- Returns:
this
-
clientSecret
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder clientSecret(String clientSecret)
Sets the value ofIntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.getClientSecret()- Parameters:
clientSecret- The client's secret. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#client_secret IntegrationsAuthConfig#client_secret}- Returns:
this
-
scope
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder scope(String scope)
- Parameters:
scope- A space-delimited list of requested scope permissions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#scope IntegrationsAuthConfig#scope}- Returns:
this
-
tokenEndpoint
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.Builder tokenEndpoint(String tokenEndpoint)
Sets the value ofIntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode.getTokenEndpoint()- Parameters:
tokenEndpoint- The token url endpoint to send the token request to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#token_endpoint IntegrationsAuthConfig#token_endpoint}- Returns:
this
-
build
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode>- Returns:
- a new instance of
IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode - Throws:
NullPointerException- if any required attribute was not provided
-
-