Class IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integration_connectors_connection.IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow>
- Enclosing interface:
- IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow
@Stability(Stable) public static final class IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder extends Object implements software.amazon.jsii.Builder<IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
authUri
@Stability(Stable) public IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder authUri(String authUri)
Sets the value ofIntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.getAuthUri()- Parameters:
authUri- Auth URL for Authorization Code Flow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#auth_uri IntegrationConnectorsConnection#auth_uri}- Returns:
this
-
clientId
@Stability(Stable) public IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder clientId(String clientId)
- Parameters:
clientId- Client ID for user-provided OAuth app. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#client_id IntegrationConnectorsConnection#client_id}- Returns:
this
-
clientSecret
@Stability(Stable) public IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder clientSecret(IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlowClientSecret clientSecret)
- Parameters:
clientSecret- client_secret block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#client_secret IntegrationConnectorsConnection#client_secret}- Returns:
this
-
enablePkce
@Stability(Stable) public IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder enablePkce(Boolean enablePkce)
- Parameters:
enablePkce- Whether to enable PKCE when the user performs the auth code flow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#enable_pkce IntegrationConnectorsConnection#enable_pkce}- Returns:
this
-
enablePkce
@Stability(Stable) public IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder enablePkce(com.hashicorp.cdktf.IResolvable enablePkce)
- Parameters:
enablePkce- Whether to enable PKCE when the user performs the auth code flow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#enable_pkce IntegrationConnectorsConnection#enable_pkce}- Returns:
this
-
scopes
@Stability(Stable) public IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.Builder scopes(List<String> scopes)
Sets the value ofIntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow.getScopes()- Parameters:
scopes- Scopes the connection will request when the user performs the auth code flow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#scopes IntegrationConnectorsConnection#scopes}- Returns:
this
-
build
@Stability(Stable) public IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow>- Returns:
- a new instance of
IntegrationConnectorsConnectionAuthConfigOauth2AuthCodeFlow - Throws:
NullPointerException- if any required attribute was not provided
-
-