Class CfnMicrosoftADPropsMixin.VpcSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directoryservice.CfnMicrosoftADPropsMixin.VpcSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMicrosoftADPropsMixin.VpcSettingsProperty>
- Enclosing interface:
CfnMicrosoftADPropsMixin.VpcSettingsProperty
@Stability(Stable)
public static final class CfnMicrosoftADPropsMixin.VpcSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMicrosoftADPropsMixin.VpcSettingsProperty>
A builder for
CfnMicrosoftADPropsMixin.VpcSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMicrosoftADPropsMixin.VpcSettingsProperty.getSubnetIds()Sets the value ofCfnMicrosoftADPropsMixin.VpcSettingsProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnetIds
@Stability(Stable) public CfnMicrosoftADPropsMixin.VpcSettingsProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnMicrosoftADPropsMixin.VpcSettingsProperty.getSubnetIds()- Parameters:
subnetIds- The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. Directory Service specifies a directory server and a DNS server in each of these subnets.- Returns:
this
-
vpcId
Sets the value ofCfnMicrosoftADPropsMixin.VpcSettingsProperty.getVpcId()- Parameters:
vpcId- The identifier of the VPC in which to create the directory.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMicrosoftADPropsMixin.VpcSettingsProperty>- Returns:
- a new instance of
CfnMicrosoftADPropsMixin.VpcSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-