| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
body(String body)
Initializes the value for the
body attribute. |
Event |
build()
Builds a new
Event. |
Event.Builder |
from(Event instance)
Fill a builder with attribute values from the provided
Event instance. |
Event.Builder |
title(String title)
Initializes the value for the
title attribute. |
public final Event.Builder from(Event instance)
Event 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 Event.Builder body(String body)
body attribute.body - The value for body (can be null)this builder for use in a chained invocationpublic final Event.Builder title(String title)
title attribute.title - The value for title (can be null)this builder for use in a chained invocationpublic Event build()
Event.IllegalStateException - if any required attributes are missingCopyright © 2021. All rights reserved.