Interface UpdateDirectoryConfigRequest.Builder

All Superinterfaces:
AppStreamRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<UpdateDirectoryConfigRequest.Builder,UpdateDirectoryConfigRequest>, SdkBuilder<UpdateDirectoryConfigRequest.Builder,UpdateDirectoryConfigRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateDirectoryConfigRequest

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

    • directoryName

      UpdateDirectoryConfigRequest.Builder directoryName(String directoryName)

      The name of the Directory Config object.

      Parameters:
      directoryName - The name of the Directory Config object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnitDistinguishedNames

      UpdateDirectoryConfigRequest.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

      UpdateDirectoryConfigRequest.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

      UpdateDirectoryConfigRequest.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 UpdateDirectoryConfigRequest.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:
    • certificateBasedAuthProperties

      UpdateDirectoryConfigRequest.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 UpdateDirectoryConfigRequest.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:
    • overrideConfiguration

      UpdateDirectoryConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.