Interface CreateComputerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateComputerRequest.Builder,CreateComputerRequest>,DirectoryRequest.Builder,SdkBuilder<CreateComputerRequest.Builder,CreateComputerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateComputerRequest
public static interface CreateComputerRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<CreateComputerRequest.Builder,CreateComputerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateComputerRequest.BuildercomputerAttributes(Collection<Attribute> computerAttributes)An array of Attribute objects that contain any LDAP attributes to apply to the computer account.CreateComputerRequest.BuildercomputerAttributes(Consumer<Attribute.Builder>... computerAttributes)An array of Attribute objects that contain any LDAP attributes to apply to the computer account.CreateComputerRequest.BuildercomputerAttributes(Attribute... computerAttributes)An array of Attribute objects that contain any LDAP attributes to apply to the computer account.CreateComputerRequest.BuildercomputerName(String computerName)The name of the computer account.CreateComputerRequest.BuilderdirectoryId(String directoryId)The identifier of the directory in which to create the computer account.CreateComputerRequest.BuilderorganizationalUnitDistinguishedName(String organizationalUnitDistinguishedName)The fully-qualified distinguished name of the organizational unit to place the computer account in.CreateComputerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateComputerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateComputerRequest.Builderpassword(String password)A one-time password that is used to join the computer to the directory.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
build
-
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
-
directoryId
CreateComputerRequest.Builder directoryId(String 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
CreateComputerRequest.Builder computerName(String 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
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.
- 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
CreateComputerRequest.Builder computerAttributes(Collection<Attribute> 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
CreateComputerRequest.Builder computerAttributes(Attribute... 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
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 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)
-
overrideConfiguration
CreateComputerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateComputerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-