Class CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientAuthenticationRequestProperty>
- Enclosing interface:
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty
@Stability(Stable)
public static final class CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientAuthenticationRequestProperty>
A builder for
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveDirectory(IResolvable activeDirectory) build()Builds the configured instance.federatedAuthentication(IResolvable federatedAuthentication) federatedAuthentication(CfnClientVpnEndpoint.FederatedAuthenticationRequestProperty federatedAuthentication) mutualAuthentication(IResolvable mutualAuthentication) mutualAuthentication(CfnClientVpnEndpoint.CertificateAuthenticationRequestProperty mutualAuthentication) Sets the value ofCfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder type(String type) Sets the value ofCfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getType()- Parameters:
type- The type of client authentication to be used. This parameter is required.- Returns:
this
-
activeDirectory
@Stability(Stable) public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder activeDirectory(IResolvable activeDirectory) - 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 CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder activeDirectory(CfnClientVpnEndpoint.DirectoryServiceAuthenticationRequestProperty activeDirectory) - 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 CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder federatedAuthentication(IResolvable federatedAuthentication) Sets the value ofCfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getFederatedAuthentication()- Parameters:
federatedAuthentication- Information about the IAM SAML identity provider, if applicable.- Returns:
this
-
federatedAuthentication
@Stability(Stable) public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder federatedAuthentication(CfnClientVpnEndpoint.FederatedAuthenticationRequestProperty federatedAuthentication) Sets the value ofCfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getFederatedAuthentication()- Parameters:
federatedAuthentication- Information about the IAM SAML identity provider, if applicable.- Returns:
this
-
mutualAuthentication
@Stability(Stable) public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder mutualAuthentication(IResolvable mutualAuthentication) Sets the value ofCfnClientVpnEndpoint.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 CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder mutualAuthentication(CfnClientVpnEndpoint.CertificateAuthenticationRequestProperty mutualAuthentication) Sets the value ofCfnClientVpnEndpoint.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientAuthenticationRequestProperty>- Returns:
- a new instance of
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-