Class ApigeeTargetServerSSlInfo.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apigee_target_server.ApigeeTargetServerSSlInfo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApigeeTargetServerSSlInfo>
- Enclosing interface:
- ApigeeTargetServerSSlInfo
@Stability(Stable) public static final class ApigeeTargetServerSSlInfo.Builder extends Object implements software.amazon.jsii.Builder<ApigeeTargetServerSSlInfo>
A builder forApigeeTargetServerSSlInfo
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enabled
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder enabled(Boolean enabled)
Sets the value ofApigeeTargetServerSSlInfo.getEnabled()- Parameters:
enabled- Enables TLS. If false, neither one-way nor two-way TLS will be enabled. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#enabled ApigeeTargetServer#enabled}- Returns:
this
-
enabled
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofApigeeTargetServerSSlInfo.getEnabled()- Parameters:
enabled- Enables TLS. If false, neither one-way nor two-way TLS will be enabled. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#enabled ApigeeTargetServer#enabled}- Returns:
this
-
ciphers
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder ciphers(List<String> ciphers)
Sets the value ofApigeeTargetServerSSlInfo.getCiphers()- Parameters:
ciphers- The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#ciphers ApigeeTargetServer#ciphers}- Returns:
this
-
clientAuthEnabled
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder clientAuthEnabled(Boolean clientAuthEnabled)
Sets the value ofApigeeTargetServerSSlInfo.getClientAuthEnabled()- Parameters:
clientAuthEnabled- Enables two-way TLS. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#client_auth_enabled ApigeeTargetServer#client_auth_enabled}- Returns:
this
-
clientAuthEnabled
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder clientAuthEnabled(com.hashicorp.cdktf.IResolvable clientAuthEnabled)
Sets the value ofApigeeTargetServerSSlInfo.getClientAuthEnabled()- Parameters:
clientAuthEnabled- Enables two-way TLS. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#client_auth_enabled ApigeeTargetServer#client_auth_enabled}- Returns:
this
-
commonName
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder commonName(ApigeeTargetServerSSlInfoCommonName commonName)
Sets the value ofApigeeTargetServerSSlInfo.getCommonName()- Parameters:
commonName- common_name block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#common_name ApigeeTargetServer#common_name}- Returns:
this
-
ignoreValidationErrors
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder ignoreValidationErrors(Boolean ignoreValidationErrors)
Sets the value ofApigeeTargetServerSSlInfo.getIgnoreValidationErrors()- Parameters:
ignoreValidationErrors- If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#ignore_validation_errors ApigeeTargetServer#ignore_validation_errors}- Returns:
this
-
ignoreValidationErrors
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder ignoreValidationErrors(com.hashicorp.cdktf.IResolvable ignoreValidationErrors)
Sets the value ofApigeeTargetServerSSlInfo.getIgnoreValidationErrors()- Parameters:
ignoreValidationErrors- If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#ignore_validation_errors ApigeeTargetServer#ignore_validation_errors}- Returns:
this
-
keyAlias
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder keyAlias(String keyAlias)
Sets the value ofApigeeTargetServerSSlInfo.getKeyAlias()- Parameters:
keyAlias- Required if clientAuthEnabled is true. The resource ID for the alias containing the private key and cert. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#key_alias ApigeeTargetServer#key_alias}- Returns:
this
-
keyStore
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder keyStore(String keyStore)
Sets the value ofApigeeTargetServerSSlInfo.getKeyStore()- Parameters:
keyStore- Required if clientAuthEnabled is true. The resource ID of the keystore. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#key_store ApigeeTargetServer#key_store}- Returns:
this
-
protocols
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder protocols(List<String> protocols)
Sets the value ofApigeeTargetServerSSlInfo.getProtocols()- Parameters:
protocols- The TLS versioins to be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#protocols ApigeeTargetServer#protocols}- Returns:
this
-
trustStore
@Stability(Stable) public ApigeeTargetServerSSlInfo.Builder trustStore(String trustStore)
Sets the value ofApigeeTargetServerSSlInfo.getTrustStore()- Parameters:
trustStore- The resource ID of the truststore. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#trust_store ApigeeTargetServer#trust_store}- Returns:
this
-
build
@Stability(Stable) public ApigeeTargetServerSSlInfo build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApigeeTargetServerSSlInfo>- Returns:
- a new instance of
ApigeeTargetServerSSlInfo - Throws:
NullPointerException- if any required attribute was not provided
-
-