| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Info |
build()
Create a new
Info instance based on the state of this builder. |
Info.Builder |
withDetail(java.lang.String key,
java.lang.Object value)
Record detail using given
key and value. |
Info.Builder |
withDetails(java.util.Map<java.lang.String,java.lang.Object> details)
Record several details.
|
public Info.Builder withDetail(java.lang.String key, java.lang.Object value)
key and value.key - the detail keyvalue - the detail valueInfo.Builder instancepublic Info.Builder withDetails(java.util.Map<java.lang.String,java.lang.Object> details)
details - the detailsInfo.Builder instancewithDetail(String, Object)