Class LogicalResourceIdentValue.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.params.model.LogicalResourceIdentValue.Builder
-
- Enclosing class:
- LogicalResourceIdentValue
public static class LogicalResourceIdentValue.Builder extends java.lang.Object
Builder for fluent creation of LogicalResourceIdentValue objects
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalResourceIdentValue
build()
Create a newLogicalResourceValue
using the current state of thisLogicalResourceIdentValue.Builder
LogicalResourceIdentValue.Builder
withLogicalId(java.lang.String logicalId)
Set the logicalIdLogicalResourceIdentValue.Builder
withLogicalResourceId(long logicalResourceId)
Set the logicalResourceIdLogicalResourceIdentValue.Builder
withResourceType(java.lang.String resourceType)
Set the resourceTypeLogicalResourceIdentValue.Builder
withResourceTypeId(int resourceTypeId)
Set the resourceTypeId
-
-
-
Method Detail
-
withResourceTypeId
public LogicalResourceIdentValue.Builder withResourceTypeId(int resourceTypeId)
Set the resourceTypeId- Parameters:
resourceTypeId
-- Returns:
-
withLogicalResourceId
public LogicalResourceIdentValue.Builder withLogicalResourceId(long logicalResourceId)
Set the logicalResourceId- Parameters:
logicalResourceId
-- Returns:
-
withResourceType
public LogicalResourceIdentValue.Builder withResourceType(java.lang.String resourceType)
Set the resourceType- Parameters:
resourceType
-- Returns:
-
withLogicalId
public LogicalResourceIdentValue.Builder withLogicalId(java.lang.String logicalId)
Set the logicalId- Parameters:
logicalId
-- Returns:
-
build
public LogicalResourceIdentValue build()
Create a newLogicalResourceValue
using the current state of thisLogicalResourceIdentValue.Builder
- Returns:
-
-