Interface Computer.Builder

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

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

    • computerId

      Computer.Builder computerId(String computerId)

      The identifier of the computer.

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

      Computer.Builder computerName(String computerName)

      The computer name.

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

      Computer.Builder computerAttributes(Collection<Attribute> computerAttributes)

      An array of Attribute objects containing the LDAP attributes that belong to the computer account.

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

      Computer.Builder computerAttributes(Attribute... computerAttributes)

      An array of Attribute objects containing the LDAP attributes that belong to the computer account.

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

      Computer.Builder computerAttributes(Consumer<Attribute.Builder>... computerAttributes)

      An array of Attribute objects containing the LDAP attributes that belong 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<Attribute>).

      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: