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 Summary
Modifier and TypeMethodDescriptioncomputerAttributes
(Collection<Attribute> computerAttributes) An array of Attribute objects containing the LDAP attributes that belong to the computer account.computerAttributes
(Consumer<Attribute.Builder>... computerAttributes) An array of Attribute objects containing the LDAP attributes that belong to the computer account.computerAttributes
(Attribute... computerAttributes) An array of Attribute objects containing the LDAP attributes that belong to the computer account.computerId
(String computerId) The identifier of the computer.computerName
(String computerName) The computer name.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The computer name.
- Parameters:
computerName
- The computer name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 theAttribute.Builder
avoiding the need to create one manually viaAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputerAttributes(List<Attribute>)
.- Parameters:
computerAttributes
- a consumer that will call methods onAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-