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.descriptionInfo
(DescriptionInfo descriptionInfo) Sets the description information of the field.location
(FieldLocation location) Sets theFieldLocation
of the field.requirement
(FieldRequirement requirement) Sets theFieldRequirement
of the field.
-
Method Details
-
requirement
Sets theFieldRequirement
of the field. -
location
Sets theFieldLocation
of the field. -
descriptionInfo
Sets the description information of the field. -
build
Returns a newly-createdFieldInfo
based on the properties of this builder.
-