Class CfnSimpleADPropsMixin.VpcSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directoryservice.CfnSimpleADPropsMixin.VpcSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSimpleADPropsMixin.VpcSettingsProperty>
- Enclosing interface:
CfnSimpleADPropsMixin.VpcSettingsProperty
@Stability(Stable)
public static final class CfnSimpleADPropsMixin.VpcSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSimpleADPropsMixin.VpcSettingsProperty>
A builder for
CfnSimpleADPropsMixin.VpcSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSimpleADPropsMixin.VpcSettingsProperty.getSubnetIds()Sets the value ofCfnSimpleADPropsMixin.VpcSettingsProperty.getVpcId()Sets the value ofCfnSimpleADPropsMixin.VpcSettingsProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnetIds
@Stability(Stable) public CfnSimpleADPropsMixin.VpcSettingsProperty.Builder subnetIds(List<? extends Object> subnetIds) Sets the value ofCfnSimpleADPropsMixin.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 ofCfnSimpleADPropsMixin.VpcSettingsProperty.getVpcId()- Parameters:
vpcId- The identifier of the VPC in which to create the directory.- Returns:
this
-
vpcId
Sets the value ofCfnSimpleADPropsMixin.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<CfnSimpleADPropsMixin.VpcSettingsProperty>- Returns:
- a new instance of
CfnSimpleADPropsMixin.VpcSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-