public static final class CfnSimpleAD.VpcSettingsProperty.Builder
extends java.lang.Object
CfnSimpleAD.VpcSettingsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSimpleAD.VpcSettingsProperty |
build()
Builds the configured instance.
|
CfnSimpleAD.VpcSettingsProperty.Builder |
subnetIds(java.util.List<java.lang.String> subnetIds)
Sets the value of
CfnSimpleAD.VpcSettingsProperty.getSubnetIds() |
CfnSimpleAD.VpcSettingsProperty.Builder |
vpcId(java.lang.String vpcId)
Sets the value of
CfnSimpleAD.VpcSettingsProperty.getVpcId() |
public CfnSimpleAD.VpcSettingsProperty.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
CfnSimpleAD.VpcSettingsProperty.getSubnetIds()
subnetIds
- The identifiers of the subnets for the directory servers. This parameter is required.
The two subnets must be in different Availability Zones. AWS Directory Service specifies a directory server and a DNS server in each of these subnets.this
public CfnSimpleAD.VpcSettingsProperty.Builder vpcId(java.lang.String vpcId)
CfnSimpleAD.VpcSettingsProperty.getVpcId()
vpcId
- The identifier of the VPC in which to create the directory. This parameter is required.this
public CfnSimpleAD.VpcSettingsProperty build()
CfnSimpleAD.VpcSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided