public static final class CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder
extends java.lang.Object
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty
Constructor and Description |
---|
Builder() |
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder type(java.lang.String type)
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getType()
type
- The type of client authentication to be used. This parameter is required.this
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder activeDirectory(IResolvable activeDirectory)
activeDirectory
- Information about the Active Directory to be used, if applicable.
You must provide this information if Type is directory-service-authentication
.this
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder activeDirectory(CfnClientVpnEndpoint.DirectoryServiceAuthenticationRequestProperty activeDirectory)
activeDirectory
- Information about the Active Directory to be used, if applicable.
You must provide this information if Type is directory-service-authentication
.this
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder federatedAuthentication(IResolvable federatedAuthentication)
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getFederatedAuthentication()
federatedAuthentication
- Information about the IAM SAML identity provider, if applicable.this
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder federatedAuthentication(CfnClientVpnEndpoint.FederatedAuthenticationRequestProperty federatedAuthentication)
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getFederatedAuthentication()
federatedAuthentication
- Information about the IAM SAML identity provider, if applicable.this
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder mutualAuthentication(IResolvable mutualAuthentication)
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getMutualAuthentication()
mutualAuthentication
- Information about the authentication certificates to be used, if applicable.
You must provide this information if Type is certificate-authentication
.this
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder mutualAuthentication(CfnClientVpnEndpoint.CertificateAuthenticationRequestProperty mutualAuthentication)
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.getMutualAuthentication()
mutualAuthentication
- Information about the authentication certificates to be used, if applicable.
You must provide this information if Type is certificate-authentication
.this
public CfnClientVpnEndpoint.ClientAuthenticationRequestProperty build()
CfnClientVpnEndpoint.ClientAuthenticationRequestProperty
java.lang.NullPointerException
- if any required attribute was not provided