Class Info.Builder
java.lang.Object
org.springframework.boot.actuate.info.Info.Builder
- Enclosing class:
Info
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create a newInfoinstance based on the state of this builder.withDetail(String key, @Nullable Object value) Record detail using givenkeyandvalue.withDetails(Map<String, @Nullable Object> details) Record several details.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withDetail
Record detail using givenkeyandvalue.- Parameters:
key- the detail keyvalue- the detail value- Returns:
- this
Info.Builderinstance
-
withDetails
Record several details.- Parameters:
details- the details- Returns:
- this
Info.Builderinstance - See Also:
-
build
-