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.ObjectBuilder 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 LogicalResourceValuebuild()Create a newLogicalResourceValueusing the current state of thisLogicalResourceValue.BuilderLogicalResourceValue.BuilderwithLastUpdated(java.sql.Timestamp lastUpdated)Set the lastUpdated valueLogicalResourceValue.BuilderwithLogicalId(java.lang.String logicalId)Set the logicalId valueLogicalResourceValue.BuilderwithLogicalResourceId(long logicalResourceId)Set the logicalResourceId valueLogicalResourceValue.BuilderwithParameterHash(java.lang.String parameterHash)Set the parameterHash valueLogicalResourceValue.BuilderwithResourceType(java.lang.String resourceType)Set the resourceType valueLogicalResourceValue.BuilderwithShardKey(short shardKey)Set the shardKeyLogicalResourceValue.BuilderwithVersionId(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 newLogicalResourceValueusing the current state of thisLogicalResourceValue.Builder- Returns:
-
-