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 Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableCtxPropertyExt.descriptionString(@Nullable String descriptionString) Initializes the value for thedescriptionStringattribute.enumClassName(@Nullable String enumClassName) Initializes the value for theenumClassNameattribute.enumSchemaOptions(String enumSchemaOptions) Initializes the optional valueenumSchemaOptionsto enumSchemaOptions.enumSchemaOptions(Optional<String> enumSchemaOptions) Initializes the optional valueenumSchemaOptionsto enumSchemaOptions.enumTypeName(@Nullable String enumTypeName) Initializes the value for theenumTypeNameattribute.from(CtxPropertyExt instance) Fill a builder with attribute values from the providedCtxPropertyExtinstance.Initializes the value for thegetterattribute.innerDatatypeWithEnum(@Nullable String innerDatatypeWithEnum) Initializes the value for theinnerDatatypeWithEnumattribute.isByteArray(boolean isByteArray) Initializes the value for theisByteArrayattribute.isEqualsPrimitive(boolean isEqualsPrimitive) Initializes the value for theisEqualsPrimitiveattribute.isNullable(boolean isNullable) Initializes the value for theisNullableattribute.isRequireNonNull(boolean isRequireNonNull) Initializes the value for theisRequireNonNullattribute.isUseBigDecimalForDouble(boolean isUseBigDecimalForDouble) Initializes the value for theisUseBigDecimalForDoubleattribute.isUseEmptyCollections(boolean isUseEmptyCollections) Initializes the value for theisUseEmptyCollectionsattribute.jsonb(boolean jsonb) Initializes the value for thejsonbattribute.jsonPropertyConstant(@Nullable String jsonPropertyConstant) Initializes the value for thejsonPropertyConstantattribute.multipartType(@Nullable String multipartType) Initializes the value for themultipartTypeattribute.schemaOptions(String schemaOptions) Initializes the optional valueschemaOptionsto schemaOptions.schemaOptions(Optional<String> schemaOptions) Initializes the optional valueschemaOptionsto schemaOptions.Initializes the value for thesetterattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedCtxPropertyExtinstance. 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:
thisbuilder for use in a chained invocation
-
innerDatatypeWithEnum
public final ImmutableCtxPropertyExt.Builder innerDatatypeWithEnum(@Nullable String innerDatatypeWithEnum) Initializes the value for theinnerDatatypeWithEnumattribute.- Parameters:
innerDatatypeWithEnum- The value for innerDatatypeWithEnum (can benull)- Returns:
thisbuilder for use in a chained invocation
-
enumClassName
Initializes the value for theenumClassNameattribute.- Parameters:
enumClassName- The value for enumClassName (can benull)- Returns:
thisbuilder for use in a chained invocation
-
enumTypeName
Initializes the value for theenumTypeNameattribute.- Parameters:
enumTypeName- The value for enumTypeName (can benull)- Returns:
thisbuilder for use in a chained invocation
-
enumSchemaOptions
Initializes the optional valueenumSchemaOptionsto enumSchemaOptions.- Parameters:
enumSchemaOptions- The value for enumSchemaOptions- Returns:
thisbuilder for chained invocation
-
enumSchemaOptions
Initializes the optional valueenumSchemaOptionsto enumSchemaOptions.- Parameters:
enumSchemaOptions- The value for enumSchemaOptions- Returns:
thisbuilder for use in a chained invocation
-
schemaOptions
Initializes the optional valueschemaOptionsto schemaOptions.- Parameters:
schemaOptions- The value for schemaOptions- Returns:
thisbuilder for chained invocation
-
schemaOptions
Initializes the optional valueschemaOptionsto schemaOptions.- Parameters:
schemaOptions- The value for schemaOptions- Returns:
thisbuilder for use in a chained invocation
-
isUseBigDecimalForDouble
public final ImmutableCtxPropertyExt.Builder isUseBigDecimalForDouble(boolean isUseBigDecimalForDouble) Initializes the value for theisUseBigDecimalForDoubleattribute.- Parameters:
isUseBigDecimalForDouble- The value for isUseBigDecimalForDouble- Returns:
thisbuilder for use in a chained invocation
-
isUseEmptyCollections
Initializes the value for theisUseEmptyCollectionsattribute.- Parameters:
isUseEmptyCollections- The value for isUseEmptyCollections- Returns:
thisbuilder for use in a chained invocation
-
isByteArray
Initializes the value for theisByteArrayattribute.- Parameters:
isByteArray- The value for isByteArray- Returns:
thisbuilder for use in a chained invocation
-
isEqualsPrimitive
Initializes the value for theisEqualsPrimitiveattribute.- Parameters:
isEqualsPrimitive- The value for isEqualsPrimitive- Returns:
thisbuilder for use in a chained invocation
-
getter
Initializes the value for thegetterattribute.- Parameters:
getter- The value for getter- Returns:
thisbuilder for use in a chained invocation
-
setter
Initializes the value for thesetterattribute.- Parameters:
setter- The value for setter- Returns:
thisbuilder for use in a chained invocation
-
jsonb
Initializes the value for thejsonbattribute.- Parameters:
jsonb- The value for jsonb- Returns:
thisbuilder for use in a chained invocation
-
descriptionString
Initializes the value for thedescriptionStringattribute.- Parameters:
descriptionString- The value for descriptionString (can benull)- Returns:
thisbuilder for use in a chained invocation
-
multipartType
Initializes the value for themultipartTypeattribute.- Parameters:
multipartType- The value for multipartType (can benull)- Returns:
thisbuilder for use in a chained invocation
-
jsonPropertyConstant
public final ImmutableCtxPropertyExt.Builder jsonPropertyConstant(@Nullable String jsonPropertyConstant) Initializes the value for thejsonPropertyConstantattribute.- Parameters:
jsonPropertyConstant- The value for jsonPropertyConstant (can benull)- Returns:
thisbuilder for use in a chained invocation
-
isNullable
Initializes the value for theisNullableattribute.- Parameters:
isNullable- The value for isNullable- Returns:
thisbuilder for use in a chained invocation
-
isRequireNonNull
Initializes the value for theisRequireNonNullattribute.- Parameters:
isRequireNonNull- The value for isRequireNonNull- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableCtxPropertyExt.- Returns:
- An immutable instance of CtxPropertyExt
- Throws:
IllegalStateException- if any required attributes are missing
-