public DetectModerationLabelsResult withContentTypes(ContentType... contentTypes) {
        if (this.contentTypes == null) {
            setContentTypes(new java.util.ArrayList<ContentType>(contentTypes.length));
        }
        for (ContentType ele : contentTypes) {
            this.contentTypes.add(ele);
        }
        return this;
    }
<p>
A list of predicted results for the type of content an image contains. For example, the image content might be
from animation, sports, or a video game.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setContentTypes(java.util.Collection)} or {@link #withContentTypes(java.util.Collection)} if you want to
override the existing values.
</p>

@param contentTypes
       A list of predicted results for the type of content an image contains. For example, the image content
       might be from animation, sports, or a video game.
@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