code: public MessageRequest withEndpoints(java.util.Map<String, EndpointSendConfiguration> endpoints) {
          setEndpoints(endpoints);
          return this;
      }
docs: A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object.
  Within an EndpointSendConfiguration object, you can tailor the message for an endpoint by specifying message
  overrides or substitutions.
  
  @param endpoints
  A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration
  object. Within an EndpointSendConfiguration object, you can tailor the message for an endpoint by
  specifying message overrides or substitutions.
  @return Returns a reference to this object so that method calls can be chained together.