public AwsSecurityFinding withMalware(Malware... malware) {
        if (this.malware == null) {
            setMalware(new java.util.ArrayList<Malware>(malware.length));
        }
        for (Malware ele : malware) {
            this.malware.add(ele);
        }
        return this;
    }
<p>
A list of malware related to a finding.
</p>
<p>
Array Members: Maximum number of 5 items.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMalware(java.util.Collection)} or {@link #withMalware(java.util.Collection)} if you want to override
the existing values.
</p>

@param malware
       A list of malware related to a finding.</p>
       <p>
       Array Members: Maximum number of 5 items.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsSecurityFinding.java