public DetectModerationLabelsResult withModerationLabels(ModerationLabel... moderationLabels) {
        if (this.moderationLabels == null) {
            setModerationLabels(new java.util.ArrayList<ModerationLabel>(moderationLabels.length));
        }
        for (ModerationLabel ele : moderationLabels) {
            this.moderationLabels.add(ele);
        }
        return this;
    }
<p>
Array of detected Moderation labels. For video operations, this includes the time, in milliseconds from the start
of the video, they were detected.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setModerationLabels(java.util.Collection)} or {@link #withModerationLabels(java.util.Collection)} if you
want to override the existing values.
</p>

@param moderationLabels
       Array of detected Moderation labels. For video operations, this includes the time, in milliseconds from
       the start of the video, they were detected.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsResult.java