Class SubItemsAnnotation.Builder

java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.SubItemsAnnotation.Builder
Enclosing class:
SubItemsAnnotation

public static class SubItemsAnnotation.Builder extends AnnotationBuilder
  • Constructor Details

    • Builder

      protected Builder()
      Constructor.
  • Method Details

    • build

      public SubItems build()
      Instantiates a new @SubItems object initialized with this builder.
      Returns:
      A new @SubItems object.
    • _default

      Sets the _default property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • _enum

      Sets the _enum property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • $ref

      Sets the $ref property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • cf

      Sets the cf property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • collectionFormat

      Sets the collectionFormat property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • df

      Sets the df property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • e

      public SubItemsAnnotation.Builder e(String... value)
      Sets the e property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • emax

      public SubItemsAnnotation.Builder emax(boolean value)
      Sets the emax property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • emin

      public SubItemsAnnotation.Builder emin(boolean value)
      Sets the emin property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • exclusiveMaximum

      Sets the exclusiveMaximum property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • exclusiveMinimum

      Sets the exclusiveMinimum property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • f

      Sets the f property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • format

      Sets the format property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • items

      Sets the items property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • max

      Sets the max property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • maxi

      public SubItemsAnnotation.Builder maxi(long value)
      Sets the maxi property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • maximum

      Sets the maximum property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • maxItems

      public SubItemsAnnotation.Builder maxItems(long value)
      Sets the maxItems property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • maxl

      public SubItemsAnnotation.Builder maxl(long value)
      Sets the maxl property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • maxLength

      Sets the maxLength property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • min

      Sets the min property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • mini

      public SubItemsAnnotation.Builder mini(long value)
      Sets the mini property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • minimum

      Sets the minimum property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • minItems

      public SubItemsAnnotation.Builder minItems(long value)
      Sets the minItems property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • minl

      public SubItemsAnnotation.Builder minl(long value)
      Sets the minl property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • minLength

      Sets the minLength property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • mo

      Sets the mo property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • multipleOf

      Sets the multipleOf property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • p

      Sets the p property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • pattern

      Sets the pattern property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • t

      Sets the t property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • type

      Sets the type property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • ui

      public SubItemsAnnotation.Builder ui(boolean value)
      Sets the ui property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.
    • uniqueItems

      public SubItemsAnnotation.Builder uniqueItems(boolean value)
      Sets the uniqueItems property on this annotation.
      Parameters:
      value - The new value for this property.
      Returns:
      This object.