Class CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty>
- Enclosing interface:
- CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty
@Stability(Stable)
public static final class CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateAuthorityArn
@Stability(Stable) public CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.Builder certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- The ARN of the AWS Certificate Manager Private CA resource.- Returns:
this
-
status
@Stability(Stable) public CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.Builder status(String status) Sets the value ofCfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.getStatus()- Parameters:
status- The status of the certificate-based authentication properties. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty>- Returns:
- a new instance of
CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-