public java.util.List<String> getTargets() {
        return targets;
    }
<p>
The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:
</p>
<ul>
<li>
<p>
Explicit names. For example, <code>abc.example.com</code> matches only the domain <code>abc.example.com</code>.
</p>
</li>
<li>
<p>
Names that use a domain wildcard, which you indicate with an initial '<code>.</code>'. For example,
<code>.example.com</code> matches <code>example.com</code> and matches all subdomains of <code>example.com</code>
, such as <code>abc.example.com</code> and <code>www.example.com</code>.
</p>
</li>
</ul>

@return The domains that you want to inspect for in your traffic flows. Valid domain specifications are the
        following:</p>
        <ul>
        <li>
        <p>
        Explicit names. For example, <code>abc.example.com</code> matches only the domain
        <code>abc.example.com</code>.
        </p>
        </li>
        <li>
        <p>
        Names that use a domain wildcard, which you indicate with an initial '<code>.</code>'. For example,
        <code>.example.com</code> matches <code>example.com</code> and matches all subdomains of
        <code>example.com</code>, such as <code>abc.example.com</code> and <code>www.example.com</code>.
        </p>
        </li>
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/RulesSourceList.java