public void setElements(java.util.Collection<String> elements) {
        if (elements == null) {
            this.elements = null;
            return;
        }

        this.elements = new java.util.ArrayList<String>(elements);
    }
<p>
One or more list elements to add or replace. If you are providing the elements, make sure to specify the
<code>updateMode</code> to use.
</p>
<p>
If you are deleting all elements from the list, use <code>REPLACE</code> for the <code>updateMode</code> and
provide an empty list (0 elements).
</p>

@param elements
       One or more list elements to add or replace. If you are providing the elements, make sure to specify the
       <code>updateMode</code> to use. </p>
       <p>
       If you are deleting all elements from the list, use <code>REPLACE</code> for the <code>updateMode</code>
       and provide an empty list (0 elements).
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/UpdateListRequest.java