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 Details

    • 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

      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 the Attribute.Builder avoiding the need to create one manually via Attribute.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to computerAttributes(List<Attribute>).

      Parameters:
      computerAttributes - a consumer that will call methods on Attribute.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.