Class CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty>
- Enclosing interface:
CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty
@Stability(Stable)
public static final class CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveDirectory(CfnClientVpnEndpointPropsMixin.DirectoryServiceAuthenticationRequestProperty activeDirectory) activeDirectory(IResolvable activeDirectory) build()Builds the configured instance.federatedAuthentication(CfnClientVpnEndpointPropsMixin.FederatedAuthenticationRequestProperty federatedAuthentication) federatedAuthentication(IResolvable federatedAuthentication) mutualAuthentication(CfnClientVpnEndpointPropsMixin.CertificateAuthenticationRequestProperty mutualAuthentication) mutualAuthentication(IResolvable mutualAuthentication)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activeDirectory
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder activeDirectory(IResolvable activeDirectory) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.getActiveDirectory()- Parameters:
activeDirectory- Information about the Active Directory to be used, if applicable. You must provide this information if Type isdirectory-service-authentication.- Returns:
this
-
activeDirectory
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder activeDirectory(CfnClientVpnEndpointPropsMixin.DirectoryServiceAuthenticationRequestProperty activeDirectory) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.getActiveDirectory()- Parameters:
activeDirectory- Information about the Active Directory to be used, if applicable. You must provide this information if Type isdirectory-service-authentication.- Returns:
this
-
federatedAuthentication
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder federatedAuthentication(IResolvable federatedAuthentication) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.getFederatedAuthentication()- Parameters:
federatedAuthentication- Information about the IAM SAML identity provider, if applicable.- Returns:
this
-
federatedAuthentication
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder federatedAuthentication(CfnClientVpnEndpointPropsMixin.FederatedAuthenticationRequestProperty federatedAuthentication) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.getFederatedAuthentication()- Parameters:
federatedAuthentication- Information about the IAM SAML identity provider, if applicable.- Returns:
this
-
mutualAuthentication
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder mutualAuthentication(IResolvable mutualAuthentication) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.getMutualAuthentication()- Parameters:
mutualAuthentication- Information about the authentication certificates to be used, if applicable. You must provide this information if Type iscertificate-authentication.- Returns:
this
-
mutualAuthentication
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder mutualAuthentication(CfnClientVpnEndpointPropsMixin.CertificateAuthenticationRequestProperty mutualAuthentication) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.getMutualAuthentication()- Parameters:
mutualAuthentication- Information about the authentication certificates to be used, if applicable. You must provide this information if Type iscertificate-authentication.- Returns:
this
-
type
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty.Builder type(String type) - Parameters:
type- The type of client authentication to be used.- Returns:
this
-
build
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty>- Returns:
- a new instance of
CfnClientVpnEndpointPropsMixin.ClientAuthenticationRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-