public void setTargetTypes(java.util.Collection<String> targetTypes) {
        if (targetTypes == null) {
            this.targetTypes = null;
            return;
        }

        this.targetTypes = new java.util.ArrayList<String>(targetTypes);
    }
<p>
The protocols you want to inspect. Specify <code>TLS_SNI</code> for <code>HTTPS</code>. Specify
<code>HTTP_HOST</code> for <code>HTTP</code>. You can specify either or both.
</p>

@param targetTypes
       The protocols you want to inspect. Specify <code>TLS_SNI</code> for <code>HTTPS</code>. Specify
       <code>HTTP_HOST</code> for <code>HTTP</code>. You can specify either or both.
@see TargetType
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/RulesSourceList.java