| 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(String key,
Object value)
Record detail using given
key and value. |
Info.Builder |
withDetails(Map<String,Object> details)
Record several details.
|
public Info.Builder withDetail(String key, Object value)
key and value.key - the detail keyvalue - the detail valueInfo.Builder instancepublic Info.Builder withDetails(Map<String,Object> details)
details - the detailsInfo.Builder instancewithDetail(String, Object)Copyright © 2019 Pivotal Software, Inc.. All rights reserved.