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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Computer.BuildercomputerAttributes(Collection<Attribute> computerAttributes)An array of Attribute objects containing the LDAP attributes that belong to the computer account.Computer.BuildercomputerAttributes(Consumer<Attribute.Builder>... computerAttributes)An array of Attribute objects containing the LDAP attributes that belong to the computer account.Computer.BuildercomputerAttributes(Attribute... computerAttributes)An array of Attribute objects containing the LDAP attributes that belong to the computer account.Computer.BuildercomputerId(String computerId)The identifier of the computer.Computer.BuildercomputerName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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 theAttribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#computerAttributes(List.) - 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:
#computerAttributes(java.util.Collection)
-
-