public static interface CreateComputerRequest.Builder extends DirectoryRequest.Builder, CopyableBuilder<CreateComputerRequest.Builder,CreateComputerRequest>
Modifier and Type | Method and Description |
---|---|
CreateComputerRequest.Builder |
computerAttributes(Attribute... computerAttributes)
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
|
CreateComputerRequest.Builder |
computerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
|
CreateComputerRequest.Builder |
computerAttributes(Consumer<Attribute.Builder>... computerAttributes)
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
|
CreateComputerRequest.Builder |
computerName(String computerName)
The name of the computer account.
|
CreateComputerRequest.Builder |
directoryId(String directoryId)
The identifier of the directory in which to create the computer account.
|
CreateComputerRequest.Builder |
organizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to place the computer account in.
|
CreateComputerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateComputerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateComputerRequest.Builder |
password(String password)
A one-time password that is used to join the computer to the directory.
|
build
overrideConfiguration
copy
applyMutation, build
CreateComputerRequest.Builder directoryId(String directoryId)
The identifier of the directory in which to create the computer account.
directoryId
- The identifier of the directory in which to create the computer account.CreateComputerRequest.Builder computerName(String computerName)
The name of the computer account.
computerName
- The name of the computer account.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.
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.CreateComputerRequest.Builder organizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)
The fully-qualified distinguished name of the organizational unit to place the computer account in.
organizationalUnitDistinguishedName
- The fully-qualified distinguished name of the organizational unit to place the computer account in.CreateComputerRequest.Builder computerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer
account.CreateComputerRequest.Builder computerAttributes(Attribute... computerAttributes)
An array of Attribute objects that contain any LDAP attributes to apply to the computer account.
computerAttributes
- An array of Attribute objects that contain any LDAP attributes to apply to the computer
account.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #computerAttributes(List)
.computerAttributes
- a consumer that will call methods on List.Builder
#computerAttributes(List)
CreateComputerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateComputerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.