public void setEndpoints(java.util.Collection<Endpoint> endpoints) {
        if (endpoints == null) {
            this.endpoints = null;
            return;
        }

        this.endpoints = new java.util.ArrayList<Endpoint>(endpoints);
    }
<p>
Endpoint description.
</p>

@param endpoints
       Endpoint description.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/DescribeEndpointsResult.java