public static class ToneOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(ToneOptions options)
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
ToneOptions.Builder |
addTone(Tone tone)
Adds the tone.
|
ToneOptions |
build()
Builds the
ToneOptions object. |
ToneOptions.Builder |
html(java.lang.Boolean isHtml)
Sets the text as HTML.
|
public Builder()
public Builder(ToneOptions options)
options
- the optionspublic ToneOptions.Builder html(java.lang.Boolean isHtml)
isHtml
- set the text as htmlpublic ToneOptions.Builder addTone(Tone tone)
tone
- the tonepublic ToneOptions build()
ToneOptions
object.