Class CfnMicrosoftADMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directoryservice.CfnMicrosoftADMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMicrosoftADMixinProps>
- Enclosing interface:
CfnMicrosoftADMixinProps
@Stability(Stable)
public static final class CfnMicrosoftADMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMicrosoftADMixinProps>
A builder for
CfnMicrosoftADMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createAlias(Boolean createAlias) Sets the value ofCfnMicrosoftADMixinProps.getCreateAlias()createAlias(IResolvable createAlias) Sets the value ofCfnMicrosoftADMixinProps.getCreateAlias()Sets the value ofCfnMicrosoftADMixinProps.getEdition()Sets the value ofCfnMicrosoftADMixinProps.getEnableSso()enableSso(IResolvable enableSso) Sets the value ofCfnMicrosoftADMixinProps.getEnableSso()Sets the value ofCfnMicrosoftADMixinProps.getName()Sets the value ofCfnMicrosoftADMixinProps.getPassword()Sets the value ofCfnMicrosoftADMixinProps.getShortName()vpcSettings(CfnMicrosoftADPropsMixin.VpcSettingsProperty vpcSettings) Sets the value ofCfnMicrosoftADMixinProps.getVpcSettings()vpcSettings(IResolvable vpcSettings) Sets the value ofCfnMicrosoftADMixinProps.getVpcSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createAlias
Sets the value ofCfnMicrosoftADMixinProps.getCreateAlias()- Parameters:
createAlias- Specifies an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such ashttp://<alias>.awsapps.com. By default, CloudFormation does not create an alias.After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
- Returns:
this
-
createAlias
Sets the value ofCfnMicrosoftADMixinProps.getCreateAlias()- Parameters:
createAlias- Specifies an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such ashttp://<alias>.awsapps.com. By default, CloudFormation does not create an alias.After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
- Returns:
this
-
edition
Sets the value ofCfnMicrosoftADMixinProps.getEdition()- Parameters:
edition- AWS Managed Microsoft AD is available in two editions:StandardandEnterprise.Enterpriseis the default.- Returns:
this
-
enableSso
Sets the value ofCfnMicrosoftADMixinProps.getEnableSso()- Parameters:
enableSso- Whether to enable single sign-on for a Microsoft Active Directory in AWS . Single sign-on allows users in your directory to access certain AWS services from a computer joined to the directory without having to enter their credentials separately. If you don't specify a value, CloudFormation disables single sign-on by default.- Returns:
this
-
enableSso
Sets the value ofCfnMicrosoftADMixinProps.getEnableSso()- Parameters:
enableSso- Whether to enable single sign-on for a Microsoft Active Directory in AWS . Single sign-on allows users in your directory to access certain AWS services from a computer joined to the directory without having to enter their credentials separately. If you don't specify a value, CloudFormation disables single sign-on by default.- Returns:
this
-
name
Sets the value ofCfnMicrosoftADMixinProps.getName()- Parameters:
name- The fully qualified domain name for the AWS 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:
this
-
password
Sets the value ofCfnMicrosoftADMixinProps.getPassword()- Parameters:
password- The password for the default administrative user namedAdmin. If you need to change the password for the administrator account, see the ResetUserPassword API call in the Directory Service API Reference .- Returns:
this
-
shortName
Sets the value ofCfnMicrosoftADMixinProps.getShortName()- 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:
this
-
vpcSettings
Sets the value ofCfnMicrosoftADMixinProps.getVpcSettings()- Parameters:
vpcSettings- Specifies the VPC settings of the Microsoft AD directory server in AWS .- Returns:
this
-
vpcSettings
@Stability(Stable) public CfnMicrosoftADMixinProps.Builder vpcSettings(CfnMicrosoftADPropsMixin.VpcSettingsProperty vpcSettings) Sets the value ofCfnMicrosoftADMixinProps.getVpcSettings()- Parameters:
vpcSettings- Specifies the VPC settings of the Microsoft AD directory server in AWS .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMicrosoftADMixinProps>- Returns:
- a new instance of
CfnMicrosoftADMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-