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 ElementFacet
build()
CollectionElementFacetBuilder
collectionFormat(CollectionFormat collectionFormat)
CollectionElementFacetBuilder
copyOf(ElementFacet facet)
CollectionElementFacetBuilder
maxItems(java.lang.Integer maxItems)
CollectionElementFacetBuilder
minItems(java.lang.Integer minItems)
CollectionElementFacetBuilder
uniqueItems(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:
build
in interfaceElementFacetBuilder
-
copyOf
public CollectionElementFacetBuilder copyOf(ElementFacet facet)
- Specified by:
copyOf
in interfaceElementFacetBuilder
-
-