Package be.ehealth.businessconnector.therlink.domain.responses

# Class TherapeuticLinkResponse.Builder

java.lang.Object
be.ehealth.businessconnector.therlink.domain.responses.TherapeuticLinkResponse.Builder

Enclosing class:
  `TherapeuticLinkResponse`

public static class TherapeuticLinkResponse.Builder extends Object
Builder for the response

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TherapeuticLinkResponse.Builder`
  `addOperationContext(OperationContext oc)`
  `TherapeuticLinkResponse`
  `build()`
  `TherapeuticLinkResponse.Builder`
  `withEndDate(Instant endDate)`
  `TherapeuticLinkResponse.Builder`
  `withHcParty(HcParty hcp)`
  `TherapeuticLinkResponse.Builder`
  `withPatient(Patient patient)`
  `TherapeuticLinkResponse.Builder`
  `withStartDate(Instant startDate)`
  `TherapeuticLinkResponse.Builder`
  `withType(String string)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### withPatient

    public TherapeuticLinkResponse.Builder withPatient(Patient patient)

  - ### withHcParty

    public TherapeuticLinkResponse.Builder withHcParty(HcParty hcp)

  - ### addOperationContext

    public TherapeuticLinkResponse.Builder addOperationContext(OperationContext oc)

  - ### withStartDate

    public TherapeuticLinkResponse.Builder withStartDate(Instant startDate)

  - ### withEndDate

    public TherapeuticLinkResponse.Builder withEndDate(Instant endDate)

  - ### withType

    public TherapeuticLinkResponse.Builder withType(String string)
    Parameters:
      `string` -
    Returns:

  - ### build

    public TherapeuticLinkResponse build()
    Returns: