Class LogicalResourceValue.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.params.model.LogicalResourceValue.Builder
-
- Enclosing class:
- LogicalResourceValue
public static class LogicalResourceValue.Builder extends java.lang.Object
Builder for fluent creation of LogicalResourceValue objects
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalResourceValue
build()
Create a newLogicalResourceValue
using the current state of thisLogicalResourceValue.Builder
LogicalResourceValue.Builder
withLastUpdated(java.sql.Timestamp lastUpdated)
Set the lastUpdated valueLogicalResourceValue.Builder
withLogicalId(java.lang.String logicalId)
Set the logicalId valueLogicalResourceValue.Builder
withLogicalResourceId(long logicalResourceId)
Set the logicalResourceId valueLogicalResourceValue.Builder
withParameterHash(java.lang.String parameterHash)
Set the parameterHash valueLogicalResourceValue.Builder
withResourceType(java.lang.String resourceType)
Set the resourceType valueLogicalResourceValue.Builder
withShardKey(short shardKey)
Set the shardKeyLogicalResourceValue.Builder
withVersionId(int versionId)
Set the versionId value
-
-
-
Method Detail
-
withShardKey
public LogicalResourceValue.Builder withShardKey(short shardKey)
Set the shardKey- Parameters:
shardKey
-- Returns:
-
withLogicalResourceId
public LogicalResourceValue.Builder withLogicalResourceId(long logicalResourceId)
Set the logicalResourceId value- Parameters:
logicalResourceId
-- Returns:
-
withResourceType
public LogicalResourceValue.Builder withResourceType(java.lang.String resourceType)
Set the resourceType value- Parameters:
resourceType
-- Returns:
-
withLogicalId
public LogicalResourceValue.Builder withLogicalId(java.lang.String logicalId)
Set the logicalId value- Parameters:
logicalId
-- Returns:
-
withVersionId
public LogicalResourceValue.Builder withVersionId(int versionId)
Set the versionId value- Parameters:
versionId
-- Returns:
-
withLastUpdated
public LogicalResourceValue.Builder withLastUpdated(java.sql.Timestamp lastUpdated)
Set the lastUpdated value- Parameters:
lastUpdated
-- Returns:
-
withParameterHash
public LogicalResourceValue.Builder withParameterHash(java.lang.String parameterHash)
Set the parameterHash value- Parameters:
parameterHash
-- Returns:
-
build
public LogicalResourceValue build()
Create a newLogicalResourceValue
using the current state of thisLogicalResourceValue.Builder
- Returns:
-
-