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

        this.endpoints = new java.util.ArrayList<SipMediaApplicationEndpoint>(endpoints);
    }
<p>
The new set of endpoints for the specified SIP media application.
</p>

@param endpoints
       The new set of endpoints for the specified SIP media application.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateSipMediaApplicationRequest.java