public static final class CfnMicrosoftADProps.Builder
extends java.lang.Object
CfnMicrosoftADProps
Constructor and Description |
---|
Builder() |
public CfnMicrosoftADProps.Builder name(java.lang.String name)
CfnMicrosoftADProps.getName()
name
- The fully qualified domain name for the AWS 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. This parameter is required.this
public CfnMicrosoftADProps.Builder password(java.lang.String password)
CfnMicrosoftADProps.getPassword()
password
- The password for the default administrative user named `Admin` . This parameter is required.
If you need to change the password for the administrator account, see the ResetUserPassword API call in the AWS Directory Service API Reference .this
public CfnMicrosoftADProps.Builder vpcSettings(CfnMicrosoftAD.VpcSettingsProperty vpcSettings)
CfnMicrosoftADProps.getVpcSettings()
vpcSettings
- Specifies the VPC settings of the Microsoft AD directory server in AWS . This parameter is required.this
public CfnMicrosoftADProps.Builder vpcSettings(IResolvable vpcSettings)
CfnMicrosoftADProps.getVpcSettings()
vpcSettings
- Specifies the VPC settings of the Microsoft AD directory server in AWS . This parameter is required.this
public CfnMicrosoftADProps.Builder createAlias(java.lang.Boolean createAlias)
CfnMicrosoftADProps.getCreateAlias()
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 as http://<alias>.awsapps.com
. By default, AWS 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.
this
public CfnMicrosoftADProps.Builder createAlias(IResolvable createAlias)
CfnMicrosoftADProps.getCreateAlias()
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 as http://<alias>.awsapps.com
. By default, AWS 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.
this
public CfnMicrosoftADProps.Builder edition(java.lang.String edition)
CfnMicrosoftADProps.getEdition()
edition
- AWS Managed Microsoft AD is available in two editions: `Standard` and `Enterprise` .
Enterprise
is the default.this
public CfnMicrosoftADProps.Builder enableSso(java.lang.Boolean enableSso)
CfnMicrosoftADProps.getEnableSso()
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, AWS CloudFormation disables single sign-on by default.this
public CfnMicrosoftADProps.Builder enableSso(IResolvable enableSso)
CfnMicrosoftADProps.getEnableSso()
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, AWS CloudFormation disables single sign-on by default.this
public CfnMicrosoftADProps.Builder shortName(java.lang.String shortName)
CfnMicrosoftADProps.getShortName()
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 DNS corp.example.com
.this
public CfnMicrosoftADProps build()
CfnMicrosoftADProps
java.lang.NullPointerException
- if any required attribute was not provided