Class CfnListener.MutualAuthenticationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.CfnListener.MutualAuthenticationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnListener.MutualAuthenticationProperty>
- Enclosing interface:
CfnListener.MutualAuthenticationProperty
@Stability(Stable)
public static final class CfnListener.MutualAuthenticationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnListener.MutualAuthenticationProperty>
A builder for
CfnListener.MutualAuthenticationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ignoreClientCertificateExpiry(Boolean ignoreClientCertificateExpiry) ignoreClientCertificateExpiry(IResolvable ignoreClientCertificateExpiry) Sets the value ofCfnListener.MutualAuthenticationProperty.getMode()trustStoreArn(String trustStoreArn) Sets the value ofCfnListener.MutualAuthenticationProperty.getTrustStoreArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ignoreClientCertificateExpiry
@Stability(Stable) public CfnListener.MutualAuthenticationProperty.Builder ignoreClientCertificateExpiry(Boolean ignoreClientCertificateExpiry) - Parameters:
ignoreClientCertificateExpiry- Indicates whether expired client certificates are ignored.- Returns:
this
-
ignoreClientCertificateExpiry
@Stability(Stable) public CfnListener.MutualAuthenticationProperty.Builder ignoreClientCertificateExpiry(IResolvable ignoreClientCertificateExpiry) - Parameters:
ignoreClientCertificateExpiry- Indicates whether expired client certificates are ignored.- Returns:
this
-
mode
Sets the value ofCfnListener.MutualAuthenticationProperty.getMode()- Parameters:
mode- The client certificate handling method. Options areoff,passthroughorverify. The default value isoff.- Returns:
this
-
trustStoreArn
@Stability(Stable) public CfnListener.MutualAuthenticationProperty.Builder trustStoreArn(String trustStoreArn) Sets the value ofCfnListener.MutualAuthenticationProperty.getTrustStoreArn()- Parameters:
trustStoreArn- The Amazon Resource Name (ARN) of the trust store.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnListener.MutualAuthenticationProperty>- Returns:
- a new instance of
CfnListener.MutualAuthenticationProperty - Throws:
NullPointerException- if any required attribute was not provided
-