public DirectoryVpcSettings withSubnetIds(java.util.Collection<String> subnetIds) {
        setSubnetIds(subnetIds);
        return this;
    }
<p>
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability
Zones. Directory Service creates a directory server and a DNS server in each of these subnets.
</p>

@param subnetIds
       The identifiers of the subnets for the directory servers. The two subnets must be in different
       Availability Zones. Directory Service creates a directory server and a DNS server in each of these
       subnets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/DirectoryVpcSettings.java