@NotThreadSafe public static final class Reply.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
Reply |
build()
Builds a new
Reply. |
Reply.Builder |
from(ReplyIF instance)
Fill a builder with attribute values from the provided
ReplyIF instance. |
Reply.Builder |
setTs(String ts)
Initializes the value for the
ts attribute. |
Reply.Builder |
setUser(String user)
Initializes the value for the
user attribute. |
public final Reply.Builder from(ReplyIF instance)
ReplyIF instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Reply.Builder setUser(String user)
user attribute.user - The value for userthis builder for use in a chained invocationpublic final Reply.Builder setTs(String ts)
ts attribute.ts - The value for tsthis builder for use in a chained invocationCopyright © 2019. All rights reserved.