Package com.linecorp.armeria.server.docs
Class FieldInfoBuilder
java.lang.Object
com.linecorp.armeria.server.docs.FieldInfoBuilder
Creates a new
FieldInfo
using the builder pattern.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newly-createdFieldInfo
based on the properties of this builder.Sets the documentation string of the field.location(FieldLocation location)
Sets theFieldLocation
of the field.requirement(FieldRequirement requirement)
Sets theFieldRequirement
of the field.toString()
-
Method Details
-
requirement
Sets theFieldRequirement
of the field. -
location
Sets theFieldLocation
of the field. -
docString
Sets the documentation string of the field. -
build
Returns a newly-createdFieldInfo
based on the properties of this builder. -
toString
-