Class CfnDirectoryConfigMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnDirectoryConfigMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryConfigMixinProps>
- Enclosing interface:
CfnDirectoryConfigMixinProps
@Stability(Stable)
public static final class CfnDirectoryConfigMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectoryConfigMixinProps>
A builder for
CfnDirectoryConfigMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateBasedAuthProperties(CfnDirectoryConfigPropsMixin.CertificateBasedAuthPropertiesProperty certificateBasedAuthProperties) Sets the value ofCfnDirectoryConfigMixinProps.getCertificateBasedAuthProperties()certificateBasedAuthProperties(IResolvable certificateBasedAuthProperties) Sets the value ofCfnDirectoryConfigMixinProps.getCertificateBasedAuthProperties()directoryName(String directoryName) Sets the value ofCfnDirectoryConfigMixinProps.getDirectoryName()organizationalUnitDistinguishedNames(List<String> organizationalUnitDistinguishedNames) Sets the value ofCfnDirectoryConfigMixinProps.getOrganizationalUnitDistinguishedNames()serviceAccountCredentials(CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty serviceAccountCredentials) Sets the value ofCfnDirectoryConfigMixinProps.getServiceAccountCredentials()serviceAccountCredentials(IResolvable serviceAccountCredentials) Sets the value ofCfnDirectoryConfigMixinProps.getServiceAccountCredentials()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateBasedAuthProperties
@Stability(Stable) public CfnDirectoryConfigMixinProps.Builder certificateBasedAuthProperties(IResolvable certificateBasedAuthProperties) Sets the value ofCfnDirectoryConfigMixinProps.getCertificateBasedAuthProperties()- Parameters:
certificateBasedAuthProperties- The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.- Returns:
this
-
certificateBasedAuthProperties
@Stability(Stable) public CfnDirectoryConfigMixinProps.Builder certificateBasedAuthProperties(CfnDirectoryConfigPropsMixin.CertificateBasedAuthPropertiesProperty certificateBasedAuthProperties) Sets the value ofCfnDirectoryConfigMixinProps.getCertificateBasedAuthProperties()- Parameters:
certificateBasedAuthProperties- The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.- Returns:
this
-
directoryName
Sets the value ofCfnDirectoryConfigMixinProps.getDirectoryName()- Parameters:
directoryName- The fully qualified name of the directory (for example, corp.example.com).- Returns:
this
-
organizationalUnitDistinguishedNames
@Stability(Stable) public CfnDirectoryConfigMixinProps.Builder organizationalUnitDistinguishedNames(List<String> organizationalUnitDistinguishedNames) Sets the value ofCfnDirectoryConfigMixinProps.getOrganizationalUnitDistinguishedNames()- Parameters:
organizationalUnitDistinguishedNames- The distinguished names of the organizational units for computer accounts.- Returns:
this
-
serviceAccountCredentials
@Stability(Stable) public CfnDirectoryConfigMixinProps.Builder serviceAccountCredentials(IResolvable serviceAccountCredentials) Sets the value ofCfnDirectoryConfigMixinProps.getServiceAccountCredentials()- Parameters:
serviceAccountCredentials- The credentials for the service account used by the streaming instance to connect to the directory. Do not use this parameter directly. UseServiceAccountCredentialsas an input parameter withnoEchoas shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .- Returns:
this
-
serviceAccountCredentials
@Stability(Stable) public CfnDirectoryConfigMixinProps.Builder serviceAccountCredentials(CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty serviceAccountCredentials) Sets the value ofCfnDirectoryConfigMixinProps.getServiceAccountCredentials()- Parameters:
serviceAccountCredentials- The credentials for the service account used by the streaming instance to connect to the directory. Do not use this parameter directly. UseServiceAccountCredentialsas an input parameter withnoEchoas shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectoryConfigMixinProps>- Returns:
- a new instance of
CfnDirectoryConfigMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-