Class CfnDirectoryConfig.Builder

java.lang.Object
software.amazon.awscdk.services.appstream.CfnDirectoryConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryConfig>
Enclosing class:
CfnDirectoryConfig

@Stability(Stable) public static final class CfnDirectoryConfig.Builder extends Object implements software.amazon.jsii.Builder<CfnDirectoryConfig>
A fluent builder for CfnDirectoryConfig.
  • Method Details

    • create

      @Stability(Stable) public static CfnDirectoryConfig.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDirectoryConfig.Builder.
    • directoryName

      @Stability(Stable) public CfnDirectoryConfig.Builder directoryName(String directoryName)
      The fully qualified name of the directory (for example, corp.example.com).

      Parameters:
      directoryName - The fully qualified name of the directory (for example, corp.example.com). This parameter is required.
      Returns:
      this
    • organizationalUnitDistinguishedNames

      @Stability(Stable) public CfnDirectoryConfig.Builder organizationalUnitDistinguishedNames(List<String> organizationalUnitDistinguishedNames)
      The distinguished names of the organizational units for computer accounts.

      Parameters:
      organizationalUnitDistinguishedNames - The distinguished names of the organizational units for computer accounts. This parameter is required.
      Returns:
      this
    • serviceAccountCredentials

      @Stability(Stable) public CfnDirectoryConfig.Builder serviceAccountCredentials(IResolvable serviceAccountCredentials)
      The credentials for the service account used by the streaming instance to connect to the directory.

      Do not use this parameter directly. Use ServiceAccountCredentials as an input parameter with noEcho as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .

      Parameters:
      serviceAccountCredentials - The credentials for the service account used by the streaming instance to connect to the directory. This parameter is required.
      Returns:
      this
    • serviceAccountCredentials

      @Stability(Stable) public CfnDirectoryConfig.Builder serviceAccountCredentials(CfnDirectoryConfig.ServiceAccountCredentialsProperty serviceAccountCredentials)
      The credentials for the service account used by the streaming instance to connect to the directory.

      Do not use this parameter directly. Use ServiceAccountCredentials as an input parameter with noEcho as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .

      Parameters:
      serviceAccountCredentials - The credentials for the service account used by the streaming instance to connect to the directory. This parameter is required.
      Returns:
      this
    • certificateBasedAuthProperties

      @Stability(Stable) public CfnDirectoryConfig.Builder certificateBasedAuthProperties(IResolvable certificateBasedAuthProperties)
      The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.

      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. This parameter is required.
      Returns:
      this
    • certificateBasedAuthProperties

      @Stability(Stable) public CfnDirectoryConfig.Builder certificateBasedAuthProperties(CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty certificateBasedAuthProperties)
      The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.

      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. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnDirectoryConfig build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDirectoryConfig>
      Returns:
      a newly built instance of CfnDirectoryConfig.