public UpdateSipMediaApplicationRequest withEndpoints(java.util.Collection<SipMediaApplicationEndpoint> endpoints) {
        setEndpoints(endpoints);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateSipMediaApplicationRequest.java