public static class MessageDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MessageDetails.Builder |
body(String body)
The body of the message to be published.
|
MessageDetails |
build() |
MessageDetails.Builder |
copy(MessageDetails model) |
MessageDetails.Builder |
title(String title)
The title of the message to be published.
|
public MessageDetails.Builder title(String title)
The title of the message to be published. Avoid entering confidential information.
title
- the value to setpublic MessageDetails.Builder body(String body)
The body of the message to be published. Avoid entering confidential information.
body
- the value to setpublic MessageDetails build()
public MessageDetails.Builder copy(MessageDetails model)
Copyright © 2016–2024. All rights reserved.