Class ParameterDefinitionBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.ParameterDefinitionBuilder.Impl
-
- All Implemented Interfaces:
ElementBuilder,ParameterDefinitionBuilder
- Enclosing interface:
- ParameterDefinitionBuilder
public static class ParameterDefinitionBuilder.Impl extends java.lang.Object implements ParameterDefinitionBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.ParameterDefinitionBuilder
ParameterDefinitionBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(com.babylonhealth.lit.core.OPERATION_PARAMETER_USE use, com.babylonhealth.lit.core.ALL_TYPES _type)Required fields forParameterDefinition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.ParameterDefinitionbuild()ParameterDefinitionBuilder.ImplwithDocumentation(@NonNull java.lang.String documentation)ParameterDefinitionBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)ParameterDefinitionBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)ParameterDefinitionBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)ParameterDefinitionBuilder.ImplwithId(@NonNull java.lang.String id)ParameterDefinitionBuilder.ImplwithMax(@NonNull java.lang.String max)ParameterDefinitionBuilder.ImplwithMin(@NonNull java.lang.Integer min)ParameterDefinitionBuilder.ImplwithName(@NonNull java.lang.String name)ParameterDefinitionBuilder.ImplwithProfile(@NonNull java.lang.String profile)
-
-
-
Method Detail
-
withId
public ParameterDefinitionBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
-
withMin
public ParameterDefinitionBuilder.Impl withMin(@NonNull @NonNull java.lang.Integer min)
- Parameters:
min- - The minimum number of times this parameter SHALL appear in the request or response.
-
withMax
public ParameterDefinitionBuilder.Impl withMax(@NonNull @NonNull java.lang.String max)
- Parameters:
max- - The maximum number of times this element is permitted to appear in the request or response.
-
withName
public ParameterDefinitionBuilder.Impl withName(@NonNull @NonNull java.lang.String name)
- Parameters:
name- - The name of the parameter used to allow access to the value of the parameter in evaluation contexts.
-
withProfile
public ParameterDefinitionBuilder.Impl withProfile(@NonNull @NonNull java.lang.String profile)
- Parameters:
profile- - If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
-
withExtension
public ParameterDefinitionBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public ParameterDefinitionBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public ParameterDefinitionBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
withDocumentation
public ParameterDefinitionBuilder.Impl withDocumentation(@NonNull @NonNull java.lang.String documentation)
- Parameters:
documentation- - A brief discussion of what the parameter is for and how it is used by the module.
-
build
public com.babylonhealth.lit.core.model.ParameterDefinition build()
- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceParameterDefinitionBuilder
-
-