public CategoryDetails withPointsOfInterest(PointOfInterest... pointsOfInterest) {
        if (this.pointsOfInterest == null) {
            setPointsOfInterest(new java.util.ArrayList<PointOfInterest>(pointsOfInterest.length));
        }
        for (PointOfInterest ele : pointsOfInterest) {
            this.pointsOfInterest.add(ele);
        }
        return this;
    }
<p>
The section of audio where the category rule was detected.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPointsOfInterest(java.util.Collection)} or {@link #withPointsOfInterest(java.util.Collection)} if you
want to override the existing values.
</p>

@param pointsOfInterest
       The section of audio where the category rule was detected.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectcontactlens/src/main/java/com/amazonaws/services/connectcontactlens/model/CategoryDetails.java