public SubjectNameFlagsV3 withRequireDnsAsCn(Boolean requireDnsAsCn) {
        setRequireDnsAsCn(requireDnsAsCn);
        return this;
    }
<p>
Include the DNS as common name in the subject name.
</p>

@param requireDnsAsCn
       Include the DNS as common name in the subject name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pcaconnectorad/src/main/java/com/amazonaws/services/pcaconnectorad/model/SubjectNameFlagsV3.java