Package springfox.documentation.builders
Class CollectionElementFacetBuilder
- java.lang.Object
-
- springfox.documentation.builders.CollectionElementFacetBuilder
-
- All Implemented Interfaces:
ElementFacetBuilder
public class CollectionElementFacetBuilder extends java.lang.Object implements ElementFacetBuilder
-
-
Constructor Summary
Constructors Constructor Description CollectionElementFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementFacetbuild()CollectionElementFacetBuildercollectionFormat(CollectionFormat collectionFormat)CollectionElementFacetBuildercopyOf(ElementFacet facet)CollectionElementFacetBuildermaxItems(java.lang.Integer maxItems)CollectionElementFacetBuilderminItems(java.lang.Integer minItems)CollectionElementFacetBuilderuniqueItems(java.lang.Boolean uniqueItems)
-
-
-
Method Detail
-
collectionFormat
public CollectionElementFacetBuilder collectionFormat(CollectionFormat collectionFormat)
-
maxItems
public CollectionElementFacetBuilder maxItems(java.lang.Integer maxItems)
-
minItems
public CollectionElementFacetBuilder minItems(java.lang.Integer minItems)
-
uniqueItems
public CollectionElementFacetBuilder uniqueItems(java.lang.Boolean uniqueItems)
-
build
public ElementFacet build()
- Specified by:
buildin interfaceElementFacetBuilder
-
copyOf
public CollectionElementFacetBuilder copyOf(ElementFacet facet)
- Specified by:
copyOfin interfaceElementFacetBuilder
-
-