Class IntegrationsAuthConfigDecryptedCredential.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integrations_auth_config.IntegrationsAuthConfigDecryptedCredential.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationsAuthConfigDecryptedCredential>
- Enclosing interface:
- IntegrationsAuthConfigDecryptedCredential
@Stability(Stable) public static final class IntegrationsAuthConfigDecryptedCredential.Builder extends Object implements software.amazon.jsii.Builder<IntegrationsAuthConfigDecryptedCredential>
A builder forIntegrationsAuthConfigDecryptedCredential
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
credentialType
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder credentialType(String credentialType)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getCredentialType()- Parameters:
credentialType- Credential type associated with auth configs. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#credential_type IntegrationsAuthConfig#credential_type}- Returns:
this
-
authToken
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder authToken(IntegrationsAuthConfigDecryptedCredentialAuthToken authToken)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getAuthToken()- Parameters:
authToken- auth_token block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#auth_token IntegrationsAuthConfig#auth_token}- Returns:
this
-
jwt
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder jwt(IntegrationsAuthConfigDecryptedCredentialJwt jwt)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getJwt()- Parameters:
jwt- jwt block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#jwt IntegrationsAuthConfig#jwt}- Returns:
this
-
oauth2AuthorizationCode
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder oauth2AuthorizationCode(IntegrationsAuthConfigDecryptedCredentialOauth2AuthorizationCode oauth2AuthorizationCode)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getOauth2AuthorizationCode()- Parameters:
oauth2AuthorizationCode- oauth2_authorization_code block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#oauth2_authorization_code IntegrationsAuthConfig#oauth2_authorization_code}- Returns:
this
-
oauth2ClientCredentials
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder oauth2ClientCredentials(IntegrationsAuthConfigDecryptedCredentialOauth2ClientCredentials oauth2ClientCredentials)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getOauth2ClientCredentials()- Parameters:
oauth2ClientCredentials- oauth2_client_credentials block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#oauth2_client_credentials IntegrationsAuthConfig#oauth2_client_credentials}- Returns:
this
-
oidcToken
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder oidcToken(IntegrationsAuthConfigDecryptedCredentialOidcToken oidcToken)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getOidcToken()- Parameters:
oidcToken- oidc_token block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#oidc_token IntegrationsAuthConfig#oidc_token}- Returns:
this
-
serviceAccountCredentials
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder serviceAccountCredentials(IntegrationsAuthConfigDecryptedCredentialServiceAccountCredentials serviceAccountCredentials)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getServiceAccountCredentials()- Parameters:
serviceAccountCredentials- service_account_credentials block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#service_account_credentials IntegrationsAuthConfig#service_account_credentials}- Returns:
this
-
usernameAndPassword
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential.Builder usernameAndPassword(IntegrationsAuthConfigDecryptedCredentialUsernameAndPassword usernameAndPassword)
Sets the value ofIntegrationsAuthConfigDecryptedCredential.getUsernameAndPassword()- Parameters:
usernameAndPassword- username_and_password block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#username_and_password IntegrationsAuthConfig#username_and_password}- Returns:
this
-
build
@Stability(Stable) public IntegrationsAuthConfigDecryptedCredential build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationsAuthConfigDecryptedCredential>- Returns:
- a new instance of
IntegrationsAuthConfigDecryptedCredential - Throws:
NullPointerException- if any required attribute was not provided
-
-