Interface DirectoryConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DirectoryConfig.Builder,DirectoryConfig>, SdkBuilder<DirectoryConfig.Builder,DirectoryConfig>, SdkPojo
Enclosing class:
DirectoryConfig

public static interface DirectoryConfig.Builder extends SdkPojo, CopyableBuilder<DirectoryConfig.Builder,DirectoryConfig>
  • Method Details

    • directoryName

      DirectoryConfig.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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitDistinguishedNames

      DirectoryConfig.Builder organizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)

      The distinguished names of the organizational units for computer accounts.

      Parameters:
      organizationalUnitDistinguishedNames - The distinguished names of the organizational units for computer accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitDistinguishedNames

      DirectoryConfig.Builder organizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames)

      The distinguished names of the organizational units for computer accounts.

      Parameters:
      organizationalUnitDistinguishedNames - The distinguished names of the organizational units for computer accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceAccountCredentials

      DirectoryConfig.Builder serviceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials)

      The credentials for the service account used by the fleet or image builder to connect to the directory.

      Parameters:
      serviceAccountCredentials - The credentials for the service account used by the fleet or image builder to connect to the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceAccountCredentials

      default DirectoryConfig.Builder serviceAccountCredentials(Consumer<ServiceAccountCredentials.Builder> serviceAccountCredentials)

      The credentials for the service account used by the fleet or image builder to connect to the directory.

      This is a convenience method that creates an instance of the ServiceAccountCredentials.Builder avoiding the need to create one manually via ServiceAccountCredentials.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serviceAccountCredentials(ServiceAccountCredentials).

      Parameters:
      serviceAccountCredentials - a consumer that will call methods on ServiceAccountCredentials.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTime

      DirectoryConfig.Builder createdTime(Instant createdTime)

      The time the directory configuration was created.

      Parameters:
      createdTime - The time the directory configuration was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateBasedAuthProperties

      DirectoryConfig.Builder certificateBasedAuthProperties(CertificateBasedAuthProperties certificateBasedAuthProperties)

      The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. 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.

      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. 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:
      Returns a reference to this object so that method calls can be chained together.
    • certificateBasedAuthProperties

      default DirectoryConfig.Builder certificateBasedAuthProperties(Consumer<CertificateBasedAuthProperties.Builder> certificateBasedAuthProperties)

      The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. 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.

      This is a convenience method that creates an instance of the CertificateBasedAuthProperties.Builder avoiding the need to create one manually via CertificateBasedAuthProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to certificateBasedAuthProperties(CertificateBasedAuthProperties).

      Parameters:
      certificateBasedAuthProperties - a consumer that will call methods on CertificateBasedAuthProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: