Class CreateComputerRequest

    • Constructor Detail

      • CreateComputerRequest

        public CreateComputerRequest()
    • Method Detail

      • setDirectoryId

        public void setDirectoryId​(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.
      • getDirectoryId

        public String getDirectoryId()

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

        Returns:
        The identifier of the directory in which to create the computer account.
      • withDirectoryId

        public CreateComputerRequest withDirectoryId​(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.
      • setComputerName

        public void setComputerName​(String computerName)

        The name of the computer account.

        Parameters:
        computerName - The name of the computer account.
      • getComputerName

        public String getComputerName()

        The name of the computer account.

        Returns:
        The name of the computer account.
      • withComputerName

        public CreateComputerRequest withComputerName​(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.
      • setPassword

        public void setPassword​(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.
      • getPassword

        public String getPassword()

        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:
        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.
      • withPassword

        public CreateComputerRequest withPassword​(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.
      • setOrganizationalUnitDistinguishedName

        public void setOrganizationalUnitDistinguishedName​(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.
      • getOrganizationalUnitDistinguishedName

        public String getOrganizationalUnitDistinguishedName()

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

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

        public CreateComputerRequest withOrganizationalUnitDistinguishedName​(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.
      • getComputerAttributes

        public List<Attribute> getComputerAttributes()

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

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

        public void setComputerAttributes​(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.
      • withComputerAttributes

        public CreateComputerRequest withComputerAttributes​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object