public static interface CreateDirectoryRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<CreateDirectoryRequest.Builder,CreateDirectoryRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDirectoryRequest.Builder name(String name)
The fully qualified name for the directory, such as corp.example.com.
name - The fully qualified name for the directory, such as corp.example.com.CreateDirectoryRequest.Builder shortName(String shortName)
The NetBIOS name of the directory, such as CORP.
shortName - The NetBIOS name of the directory, such as CORP.CreateDirectoryRequest.Builder password(String 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.
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.
CreateDirectoryRequest.Builder description(String description)
A description for the directory.
description - A description for the directory.CreateDirectoryRequest.Builder size(String size)
The size of the directory.
size - The size of the directory.DirectorySize,
DirectorySizeCreateDirectoryRequest.Builder size(DirectorySize size)
The size of the directory.
size - The size of the directory.DirectorySize,
DirectorySizeCreateDirectoryRequest.Builder vpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information for the operation.
vpcSettings - A DirectoryVpcSettings object that contains additional information for the operation.default CreateDirectoryRequest.Builder vpcSettings(Consumer<DirectoryVpcSettings.Builder> vpcSettings)
A DirectoryVpcSettings object that contains additional information for the operation.
This is a convenience method that creates an instance of theDirectoryVpcSettings.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).vpcSettings - a consumer that will call methods on DirectoryVpcSettings.BuildervpcSettings(DirectoryVpcSettings)CreateDirectoryRequest.Builder tags(Collection<Tag> tags)
The tags to be assigned to the Simple AD directory.
tags - The tags to be assigned to the Simple AD directory.CreateDirectoryRequest.Builder tags(Tag... tags)
The tags to be assigned to the Simple AD directory.
tags - The tags to be assigned to the Simple AD directory.CreateDirectoryRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to the Simple AD directory.
This is a convenience method 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 #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDirectoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.