Exemplo n.º 1
0
 /**
  * The content of the message, in text format. Use this for text-based email clients, or clients
  * on high-latency networks (such as mobile devices).
  *
  * @param text The content of the message, in text format. Use this for text-based email clients,
  *     or clients on high-latency networks (such as mobile devices).
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public Body withText(Content text) {
   setText(text);
   return this;
 }
Exemplo n.º 2
0
 /**
  * Constructs a new Body object. Callers should use the setter or fluent setter (with...) methods
  * to initialize any additional object members.
  *
  * @param text The content of the message, in text format. Use this for text-based email clients,
  *     or clients on high-latency networks (such as mobile devices).
  */
 public Body(Content text) {
   setText(text);
 }