Interface CreateComputerRequest.Builder

    • Method Detail

      • directoryId

        CreateComputerRequest.Builder directoryId​(String directoryId)

        The identifier of the directory in which to create the computer account.

        Parameters:
        directoryId - The identifier of the directory in which to create the computer account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computerName

        CreateComputerRequest.Builder computerName​(String computerName)

        The name of the computer account.

        Parameters:
        computerName - The name of the computer account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • password

        CreateComputerRequest.Builder password​(String password)

        A one-time password that is used to join the computer to the directory. You should generate a random, strong password to use for this parameter.

        Parameters:
        password - A one-time password that is used to join the computer to the directory. You should generate a random, strong password to use for this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationalUnitDistinguishedName

        CreateComputerRequest.Builder organizationalUnitDistinguishedName​(String organizationalUnitDistinguishedName)

        The fully-qualified distinguished name of the organizational unit to place the computer account in.

        Parameters:
        organizationalUnitDistinguishedName - The fully-qualified distinguished name of the organizational unit to place the computer account in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computerAttributes

        CreateComputerRequest.Builder computerAttributes​(Collection<Attribute> computerAttributes)

        An array of Attribute objects that contain any LDAP attributes to apply to the computer account.

        Parameters:
        computerAttributes - An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computerAttributes

        CreateComputerRequest.Builder computerAttributes​(Attribute... computerAttributes)

        An array of Attribute objects that contain any LDAP attributes to apply to the computer account.

        Parameters:
        computerAttributes - An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computerAttributes

        CreateComputerRequest.Builder computerAttributes​(Consumer<Attribute.Builder>... computerAttributes)

        An array of Attribute objects that contain any LDAP attributes to apply to the computer account.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #computerAttributes(List).

        Parameters:
        computerAttributes - a consumer that will call methods on Attribute.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #computerAttributes(java.util.Collection)