Interface CreateDirectoryRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateDirectoryRequest.Builder,CreateDirectoryRequest>, DirectoryRequest.Builder, SdkBuilder<CreateDirectoryRequest.Builder,CreateDirectoryRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateDirectoryRequest

public static interface CreateDirectoryRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<CreateDirectoryRequest.Builder,CreateDirectoryRequest>
  • Method Details

    • name

      The fully qualified name for the directory, such as corp.example.com.

      Parameters:
      name - The fully qualified name for the directory, such as corp.example.com.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shortName

      CreateDirectoryRequest.Builder shortName(String shortName)

      The NetBIOS name of the directory, such as CORP.

      Parameters:
      shortName - The NetBIOS name of the directory, such as CORP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • password

      The password for the directory administrator. The directory creation process creates a directory administrator account with the user name Administrator and this password.

      If you need to change the password for the administrator account, you can use the ResetUserPassword API call.

      The regex pattern for this string is made up of the following conditions:

      • Length (?=^.{8,64}$) – Must be between 8 and 64 characters

      AND any 3 of the following password complexity rules required by Active Directory:

      • Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])

      • Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])

      • Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])

      • Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])

      For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.

      Parameters:
      password - The password for the directory administrator. The directory creation process creates a directory administrator account with the user name Administrator and this password.

      If you need to change the password for the administrator account, you can use the ResetUserPassword API call.

      The regex pattern for this string is made up of the following conditions:

      • Length (?=^.{8,64}$) – Must be between 8 and 64 characters

      AND any 3 of the following password complexity rules required by Active Directory:

      • Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])

      • Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])

      • Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])

      • Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])

      For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateDirectoryRequest.Builder description(String description)

      A description for the directory.

      Parameters:
      description - A description for the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • size

      The size of the directory.

      Parameters:
      size - The size of the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • size

      The size of the directory.

      Parameters:
      size - The size of the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcSettings

      A DirectoryVpcSettings object that contains additional information for the operation.

      Parameters:
      vpcSettings - A DirectoryVpcSettings object that contains additional information for the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSettings

      A DirectoryVpcSettings object that contains additional information for the operation.

      This is a convenience method that creates an instance of the DirectoryVpcSettings.Builder avoiding the need to create one manually via DirectoryVpcSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcSettings(DirectoryVpcSettings).

      Parameters:
      vpcSettings - a consumer that will call methods on DirectoryVpcSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags to be assigned to the Simple AD directory.

      Parameters:
      tags - The tags to be assigned to the Simple AD directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to be assigned to the Simple AD directory.

      Parameters:
      tags - The tags to be assigned to the Simple AD directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to be assigned to the Simple AD directory.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

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

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateDirectoryRequest.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.