Interface CreateMicrosoftAdRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMicrosoftAdRequest.Builder,
,CreateMicrosoftAdRequest> DirectoryRequest.Builder
,SdkBuilder<CreateMicrosoftAdRequest.Builder,
,CreateMicrosoftAdRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMicrosoftAdRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description for the directory.Managed Microsoft AD is available in two editions:Standard
andEnterprise
.edition
(DirectoryEdition edition) Managed Microsoft AD is available in two editions:Standard
andEnterprise
.The fully qualified domain name for the Managed Microsoft AD directory, such ascorp.example.com
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password for the default administrative user namedAdmin
.The NetBIOS name for your domain, such asCORP
.tags
(Collection<Tag> tags) The tags to be assigned to the Managed Microsoft AD directory.tags
(Consumer<Tag.Builder>... tags) The tags to be assigned to the Managed Microsoft AD directory.The tags to be assigned to the Managed Microsoft AD directory.default CreateMicrosoftAdRequest.Builder
vpcSettings
(Consumer<DirectoryVpcSettings.Builder> vpcSettings) Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.vpcSettings
(DirectoryVpcSettings vpcSettings) Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.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, sdkFields
-
Method Details
-
name
The fully qualified domain name for the Managed Microsoft AD directory, such as
corp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.- Parameters:
name
- The fully qualified domain name for the Managed Microsoft AD directory, such ascorp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shortName
The NetBIOS name for your domain, such as
CORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.- Parameters:
shortName
- The NetBIOS name for your domain, such asCORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The password for the default administrative user named
Admin
.If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
- Parameters:
password
- The password for the default administrative user namedAdmin
.If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the directory. This label will appear on the Amazon Web Services console
Directory Details
page after the directory is created.- Parameters:
description
- A description for the directory. This label will appear on the Amazon Web Services consoleDirectory Details
page after the directory is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSettings
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
- Parameters:
vpcSettings
- Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSettings
default CreateMicrosoftAdRequest.Builder vpcSettings(Consumer<DirectoryVpcSettings.Builder> vpcSettings) Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
This is a convenience method that creates an instance of theDirectoryVpcSettings.Builder
avoiding the need to create one manually viaDirectoryVpcSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSettings(DirectoryVpcSettings)
.- Parameters:
vpcSettings
- a consumer that will call methods onDirectoryVpcSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
edition
Managed Microsoft AD is available in two editions:
Standard
andEnterprise
.Enterprise
is the default.- Parameters:
edition
- Managed Microsoft AD is available in two editions:Standard
andEnterprise
.Enterprise
is the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
edition
Managed Microsoft AD is available in two editions:
Standard
andEnterprise
.Enterprise
is the default.- Parameters:
edition
- Managed Microsoft AD is available in two editions:Standard
andEnterprise
.Enterprise
is the default.- 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 Managed Microsoft AD directory.
- Parameters:
tags
- The tags to be assigned to the Managed Microsoft 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 Managed Microsoft AD directory.
- Parameters:
tags
- The tags to be assigned to the Managed Microsoft 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 Managed Microsoft AD directory.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateMicrosoftAdRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMicrosoftAdRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-