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