Class MutualAuthentication.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.MutualAuthentication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MutualAuthentication>
- Enclosing interface:
MutualAuthentication
@Stability(Stable)
public static final class MutualAuthentication.Builder
extends Object
implements software.amazon.jsii.Builder<MutualAuthentication>
A builder for
MutualAuthentication-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvertiseTrustStoreCaNames(Boolean advertiseTrustStoreCaNames) Sets the value ofMutualAuthentication.getAdvertiseTrustStoreCaNames()build()Builds the configured instance.ignoreClientCertificateExpiry(Boolean ignoreClientCertificateExpiry) Sets the value ofMutualAuthentication.getIgnoreClientCertificateExpiry()mutualAuthenticationMode(MutualAuthenticationMode mutualAuthenticationMode) Sets the value ofMutualAuthentication.getMutualAuthenticationMode()trustStore(ITrustStore trustStore) Sets the value ofMutualAuthentication.getTrustStore()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
advertiseTrustStoreCaNames
@Stability(Stable) public MutualAuthentication.Builder advertiseTrustStoreCaNames(Boolean advertiseTrustStoreCaNames) Sets the value ofMutualAuthentication.getAdvertiseTrustStoreCaNames()- Parameters:
advertiseTrustStoreCaNames- Indicates whether trust store CA names are advertised.- Returns:
this
-
ignoreClientCertificateExpiry
@Stability(Stable) public MutualAuthentication.Builder ignoreClientCertificateExpiry(Boolean ignoreClientCertificateExpiry) Sets the value ofMutualAuthentication.getIgnoreClientCertificateExpiry()- Parameters:
ignoreClientCertificateExpiry- Indicates whether expired client certificates are ignored. Cannot be used with MutualAuthenticationMode.OFF or MutualAuthenticationMode.PASS_THROUGH- Returns:
this
-
mutualAuthenticationMode
@Stability(Stable) public MutualAuthentication.Builder mutualAuthenticationMode(MutualAuthenticationMode mutualAuthenticationMode) Sets the value ofMutualAuthentication.getMutualAuthenticationMode()- Parameters:
mutualAuthenticationMode- The client certificate handling method.- Returns:
this
-
trustStore
Sets the value ofMutualAuthentication.getTrustStore()- Parameters:
trustStore- The trust store. Cannot be used with MutualAuthenticationMode.OFF or MutualAuthenticationMode.PASS_THROUGH- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MutualAuthentication>- Returns:
- a new instance of
MutualAuthentication - Throws:
NullPointerException- if any required attribute was not provided
-