Class IntegrationsAuthConfigConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integrations_auth_config.IntegrationsAuthConfigConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationsAuthConfigConfig>
- Enclosing interface:
- IntegrationsAuthConfigConfig
@Stability(Stable) public static final class IntegrationsAuthConfigConfig.Builder extends Object implements software.amazon.jsii.Builder<IntegrationsAuthConfigConfig>
A builder forIntegrationsAuthConfigConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder displayName(String displayName)
Sets the value ofIntegrationsAuthConfigConfig.getDisplayName()- Parameters:
displayName- The name of the auth config. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#display_name IntegrationsAuthConfig#display_name}- Returns:
this
-
location
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder location(String location)
Sets the value ofIntegrationsAuthConfigConfig.getLocation()- Parameters:
location- Location in which client needs to be provisioned. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#location IntegrationsAuthConfig#location}- Returns:
this
-
clientCertificate
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder clientCertificate(IntegrationsAuthConfigClientCertificate clientCertificate)
Sets the value ofIntegrationsAuthConfigConfig.getClientCertificate()- Parameters:
clientCertificate- client_certificate block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#client_certificate IntegrationsAuthConfig#client_certificate}- Returns:
this
-
decryptedCredential
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder decryptedCredential(IntegrationsAuthConfigDecryptedCredential decryptedCredential)
Sets the value ofIntegrationsAuthConfigConfig.getDecryptedCredential()- Parameters:
decryptedCredential- decrypted_credential block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#decrypted_credential IntegrationsAuthConfig#decrypted_credential}- Returns:
this
-
description
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder description(String description)
Sets the value ofIntegrationsAuthConfigConfig.getDescription()- Parameters:
description- A description of the auth config. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#description IntegrationsAuthConfig#description}- Returns:
this
-
expiryNotificationDuration
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder expiryNotificationDuration(List<String> expiryNotificationDuration)
Sets the value ofIntegrationsAuthConfigConfig.getExpiryNotificationDuration()- Parameters:
expiryNotificationDuration- User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#expiry_notification_duration IntegrationsAuthConfig#expiry_notification_duration}- Returns:
this
-
id
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder id(String id)
Sets the value ofIntegrationsAuthConfigConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#id IntegrationsAuthConfig#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
overrideValidTime
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder overrideValidTime(String overrideValidTime)
Sets the value ofIntegrationsAuthConfigConfig.getOverrideValidTime()- Parameters:
overrideValidTime- User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#override_valid_time IntegrationsAuthConfig#override_valid_time}- Returns:
this
-
project
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder project(String project)
Sets the value ofIntegrationsAuthConfigConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#project IntegrationsAuthConfig#project}.- Returns:
this
-
timeouts
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder timeouts(IntegrationsAuthConfigTimeouts timeouts)
Sets the value ofIntegrationsAuthConfigConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#timeouts IntegrationsAuthConfig#timeouts}- Returns:
this
-
visibility
@Stability(Stable) public IntegrationsAuthConfigConfig.Builder visibility(String visibility)
Sets the value ofIntegrationsAuthConfigConfig.getVisibility()- Parameters:
visibility- The visibility of the auth config. Possible values: ["PRIVATE", "CLIENT_VISIBLE"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_auth_config#visibility IntegrationsAuthConfig#visibility}- Returns:
this
-
connection
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public IntegrationsAuthConfigConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public IntegrationsAuthConfigConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationsAuthConfigConfig>- Returns:
- a new instance of
IntegrationsAuthConfigConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-