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:StandardandEnterprise.edition(DirectoryEdition edition) Managed Microsoft AD is available in two editions:StandardandEnterprise.The fully qualified domain name for the Managed Microsoft AD directory, such ascorp.example.com.networkType(String networkType) The network type for your domain.networkType(NetworkType networkType) The network type for your domain.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.BuildervpcSettings(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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,CORPfor 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,CORPfor 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 Detailspage after the directory is created.- Parameters:
description- A description for the directory. This label will appear on the Amazon Web Services consoleDirectory Detailspage 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.Builderavoiding the need to create one manually viaDirectoryVpcSettings.builder().When the
Consumercompletes,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:
StandardandEnterprise.Enterpriseis the default.- Parameters:
edition- Managed Microsoft AD is available in two editions:StandardandEnterprise.Enterpriseis 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:
StandardandEnterprise.Enterpriseis the default.- Parameters:
edition- Managed Microsoft AD is available in two editions:StandardandEnterprise.Enterpriseis 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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:
-
networkType
The network type for your domain. The default value is
IPv4orIPv6based on the provided subnet capabilities.- Parameters:
networkType- The network type for your domain. The default value isIPv4orIPv6based on the provided subnet capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkType
The network type for your domain. The default value is
IPv4orIPv6based on the provided subnet capabilities.- Parameters:
networkType- The network type for your domain. The default value isIPv4orIPv6based on the provided subnet capabilities.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-