public TestMigrationRequest withCustomerNodeEndpointList(java.util.Collection<CustomerNodeEndpoint> customerNodeEndpointList) {
        setCustomerNodeEndpointList(customerNodeEndpointList);
        return this;
    }
<p>
List of endpoints from which data should be migrated. List should have only one element.
</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