Class ImmutableCtxPropertyExt.Builder

java.lang.Object
dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxPropertyExt.Builder
Enclosing class:
ImmutableCtxPropertyExt

@Generated(from="CtxPropertyExt", generator="Immutables") public static final class ImmutableCtxPropertyExt.Builder extends Object
Builds instances of type ImmutableCtxPropertyExt. Initialize attributes and then invoke the build() method to create an immutable instance.

Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

  • Method Details

    • from

      public final ImmutableCtxPropertyExt.Builder from(CtxPropertyExt instance)
      Fill a builder with attribute values from the provided CtxPropertyExt instance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • innerDatatypeWithEnum

      public final ImmutableCtxPropertyExt.Builder innerDatatypeWithEnum(@Nullable String innerDatatypeWithEnum)
      Initializes the value for the innerDatatypeWithEnum attribute.
      Parameters:
      innerDatatypeWithEnum - The value for innerDatatypeWithEnum (can be null)
      Returns:
      this builder for use in a chained invocation
    • enumClassName

      public final ImmutableCtxPropertyExt.Builder enumClassName(@Nullable String enumClassName)
      Initializes the value for the enumClassName attribute.
      Parameters:
      enumClassName - The value for enumClassName (can be null)
      Returns:
      this builder for use in a chained invocation
    • enumTypeName

      public final ImmutableCtxPropertyExt.Builder enumTypeName(@Nullable String enumTypeName)
      Initializes the value for the enumTypeName attribute.
      Parameters:
      enumTypeName - The value for enumTypeName (can be null)
      Returns:
      this builder for use in a chained invocation
    • enumSchemaOptions

      public final ImmutableCtxPropertyExt.Builder enumSchemaOptions(String enumSchemaOptions)
      Initializes the optional value enumSchemaOptions to enumSchemaOptions.
      Parameters:
      enumSchemaOptions - The value for enumSchemaOptions
      Returns:
      this builder for chained invocation
    • enumSchemaOptions

      public final ImmutableCtxPropertyExt.Builder enumSchemaOptions(Optional<String> enumSchemaOptions)
      Initializes the optional value enumSchemaOptions to enumSchemaOptions.
      Parameters:
      enumSchemaOptions - The value for enumSchemaOptions
      Returns:
      this builder for use in a chained invocation
    • schemaOptions

      public final ImmutableCtxPropertyExt.Builder schemaOptions(String schemaOptions)
      Initializes the optional value schemaOptions to schemaOptions.
      Parameters:
      schemaOptions - The value for schemaOptions
      Returns:
      this builder for chained invocation
    • schemaOptions

      public final ImmutableCtxPropertyExt.Builder schemaOptions(Optional<String> schemaOptions)
      Initializes the optional value schemaOptions to schemaOptions.
      Parameters:
      schemaOptions - The value for schemaOptions
      Returns:
      this builder for use in a chained invocation
    • isUseBigDecimalForDouble

      public final ImmutableCtxPropertyExt.Builder isUseBigDecimalForDouble(boolean isUseBigDecimalForDouble)
      Initializes the value for the isUseBigDecimalForDouble attribute.
      Parameters:
      isUseBigDecimalForDouble - The value for isUseBigDecimalForDouble
      Returns:
      this builder for use in a chained invocation
    • isUseEmptyCollections

      public final ImmutableCtxPropertyExt.Builder isUseEmptyCollections(boolean isUseEmptyCollections)
      Initializes the value for the isUseEmptyCollections attribute.
      Parameters:
      isUseEmptyCollections - The value for isUseEmptyCollections
      Returns:
      this builder for use in a chained invocation
    • isByteArray

      public final ImmutableCtxPropertyExt.Builder isByteArray(boolean isByteArray)
      Initializes the value for the isByteArray attribute.
      Parameters:
      isByteArray - The value for isByteArray
      Returns:
      this builder for use in a chained invocation
    • isEqualsPrimitive

      public final ImmutableCtxPropertyExt.Builder isEqualsPrimitive(boolean isEqualsPrimitive)
      Initializes the value for the isEqualsPrimitive attribute.
      Parameters:
      isEqualsPrimitive - The value for isEqualsPrimitive
      Returns:
      this builder for use in a chained invocation
    • getter

      public final ImmutableCtxPropertyExt.Builder getter(String getter)
      Initializes the value for the getter attribute.
      Parameters:
      getter - The value for getter
      Returns:
      this builder for use in a chained invocation
    • setter

      public final ImmutableCtxPropertyExt.Builder setter(String setter)
      Initializes the value for the setter attribute.
      Parameters:
      setter - The value for setter
      Returns:
      this builder for use in a chained invocation
    • jsonb

      public final ImmutableCtxPropertyExt.Builder jsonb(boolean jsonb)
      Initializes the value for the jsonb attribute.
      Parameters:
      jsonb - The value for jsonb
      Returns:
      this builder for use in a chained invocation
    • descriptionString

      public final ImmutableCtxPropertyExt.Builder descriptionString(@Nullable String descriptionString)
      Initializes the value for the descriptionString attribute.
      Parameters:
      descriptionString - The value for descriptionString (can be null)
      Returns:
      this builder for use in a chained invocation
    • multipartType

      public final ImmutableCtxPropertyExt.Builder multipartType(@Nullable String multipartType)
      Initializes the value for the multipartType attribute.
      Parameters:
      multipartType - The value for multipartType (can be null)
      Returns:
      this builder for use in a chained invocation
    • jsonPropertyConstant

      public final ImmutableCtxPropertyExt.Builder jsonPropertyConstant(@Nullable String jsonPropertyConstant)
      Initializes the value for the jsonPropertyConstant attribute.
      Parameters:
      jsonPropertyConstant - The value for jsonPropertyConstant (can be null)
      Returns:
      this builder for use in a chained invocation
    • isNullable

      public final ImmutableCtxPropertyExt.Builder isNullable(boolean isNullable)
      Initializes the value for the isNullable attribute.
      Parameters:
      isNullable - The value for isNullable
      Returns:
      this builder for use in a chained invocation
    • isRequireNonNull

      public final ImmutableCtxPropertyExt.Builder isRequireNonNull(boolean isRequireNonNull)
      Initializes the value for the isRequireNonNull attribute.
      Parameters:
      isRequireNonNull - The value for isRequireNonNull
      Returns:
      this builder for use in a chained invocation
    • build

      public ImmutableCtxPropertyExt build()
      Returns:
      An immutable instance of CtxPropertyExt
      Throws:
      IllegalStateException - if any required attributes are missing