public void setTargetResourceTypes(java.util.Collection<TargetResourceTypeSummary> targetResourceTypes) {
        if (targetResourceTypes == null) {
            this.targetResourceTypes = null;
            return;
        }

        this.targetResourceTypes = new java.util.ArrayList<TargetResourceTypeSummary>(targetResourceTypes);
    }
<p>
The target resource types.
</p>

@param targetResourceTypes
       The target resource types.
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/model/ListTargetResourceTypesResult.java