title: Initialize new object and set values with Java 8
body: <p>Right now I am passing <code>to</code> the following way, by creating the object first, calling the methods to set the values, then passing it to another object method.</p>
  
  <pre><code>To to = new To();
  to.setEmail("emailaddress@gmail.com");
  to.setName("John Smith");
  
  Headers headers = new Headers();
  headers.setTo(Arrays.asList(to));
  </code></pre>
  
  <p>Is it possible to do everything I am doing above related to the <code>to</code> object while calling <code>headers.setTo</code>?</p>
  
  <pre><code>Headers headers = new Headers();
  headers.setTo(Is it possible to Initialize and set the "To" values in here?);
  </code></pre>