public TestMigrationRequest withCustomerNodeEndpointList(CustomerNodeEndpoint... customerNodeEndpointList) {
        if (this.customerNodeEndpointList == null) {
            setCustomerNodeEndpointList(new com.amazonaws.internal.SdkInternalList<CustomerNodeEndpoint>(customerNodeEndpointList.length));
        }
        for (CustomerNodeEndpoint ele : customerNodeEndpointList) {
            this.customerNodeEndpointList.add(ele);
        }
        return this;
    }
<p>
List of endpoints from which data should be migrated. List should have only one element.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCustomerNodeEndpointList(java.util.Collection)} or
{@link #withCustomerNodeEndpointList(java.util.Collection)} if you want to override the existing values.
</p>

@param customerNodeEndpointList
       List of endpoints from which data should be migrated. List should have only one element.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/TestMigrationRequest.java