public ThreatDetectedByName withShortened(Boolean shortened) {
        setShortened(shortened);
        return this;
    }
<p>
Flag to determine if the finding contains every single infected file-path and/or every threat.
</p>

@param shortened
       Flag to determine if the finding contains every single infected file-path and/or every threat.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/ThreatDetectedByName.java