Interface CreateComputerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateComputerRequest.Builder,,CreateComputerRequest> DirectoryRequest.Builder,SdkBuilder<CreateComputerRequest.Builder,,CreateComputerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateComputerRequest
-
Method Summary
Modifier and TypeMethodDescriptioncomputerAttributes(Collection<Attribute> computerAttributes) An array of Attribute objects that contain any LDAP attributes to apply to the computer account.computerAttributes(Consumer<Attribute.Builder>... computerAttributes) An array of Attribute objects that contain any LDAP attributes to apply to the computer account.computerAttributes(Attribute... computerAttributes) An array of Attribute objects that contain any LDAP attributes to apply to the computer account.computerName(String computerName) The name of the computer account.directoryId(String directoryId) The identifier of the directory in which to create the computer account.organizationalUnitDistinguishedName(String organizationalUnitDistinguishedName) The fully-qualified distinguished name of the organizational unit to place the computer account in.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A one-time password that is used to join the computer to the directory.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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.
-
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.
-
organizationalUnitDistinguishedName
CreateComputerRequest.Builder organizationalUnitDistinguishedName(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.
-
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.
-
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.
-
computerAttributes
An array of Attribute objects that contain any LDAP attributes to apply 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 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:
-
overrideConfiguration
CreateComputerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateComputerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-