Class CfnMicrosoftADProps.Builder

java.lang.Object
software.amazon.awscdk.services.directoryservice.CfnMicrosoftADProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMicrosoftADProps>
Enclosing interface:
CfnMicrosoftADProps

@Stability(Stable) public static final class CfnMicrosoftADProps.Builder extends Object implements software.amazon.jsii.Builder<CfnMicrosoftADProps>
A builder for CfnMicrosoftADProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      @Stability(Stable) public CfnMicrosoftADProps.Builder name(String name)
      Parameters:
      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.
      Returns:
      this
    • password

      @Stability(Stable) public CfnMicrosoftADProps.Builder password(String password)
      Parameters:
      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 .
      Returns:
      this
    • vpcSettings

      @Stability(Stable) public CfnMicrosoftADProps.Builder vpcSettings(IResolvable vpcSettings)
      Parameters:
      vpcSettings - Specifies the VPC settings of the Microsoft AD directory server in AWS . This parameter is required.
      Returns:
      this
    • vpcSettings

      @Stability(Stable) public CfnMicrosoftADProps.Builder vpcSettings(CfnMicrosoftAD.VpcSettingsProperty vpcSettings)
      Parameters:
      vpcSettings - Specifies the VPC settings of the Microsoft AD directory server in AWS . This parameter is required.
      Returns:
      this
    • createAlias

      @Stability(Stable) public CfnMicrosoftADProps.Builder createAlias(Boolean createAlias)
      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 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.

      Returns:
      this
    • createAlias

      @Stability(Stable) public CfnMicrosoftADProps.Builder createAlias(IResolvable createAlias)
      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 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.

      Returns:
      this
    • edition

      @Stability(Stable) public CfnMicrosoftADProps.Builder edition(String edition)
      Parameters:
      edition - AWS Managed Microsoft AD is available in two editions: Standard and Enterprise . Enterprise is the default.
      Returns:
      this
    • enableSso

      @Stability(Stable) public CfnMicrosoftADProps.Builder enableSso(Boolean enableSso)
      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, AWS CloudFormation disables single sign-on by default.
      Returns:
      this
    • enableSso

      @Stability(Stable) public CfnMicrosoftADProps.Builder enableSso(IResolvable enableSso)
      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, AWS CloudFormation disables single sign-on by default.
      Returns:
      this
    • shortName

      @Stability(Stable) public CfnMicrosoftADProps.Builder shortName(String shortName)
      Parameters:
      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 .
      Returns:
      this
    • build

      @Stability(Stable) public CfnMicrosoftADProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMicrosoftADProps>
      Returns:
      a new instance of CfnMicrosoftADProps
      Throws:
      NullPointerException - if any required attribute was not provided