public final class ForeignRequestBuilder extends Object
Modifier and Type | Method and Description |
---|---|
ForeignerRequest |
build()
Returns a
ForeignerRequest built from the parameters previously set. |
ForeignRequestBuilder |
withFirstName(String firstName)
Sets the
firstName and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
ForeignRequestBuilder |
withGeneralEmail(String generalEmail)
Sets the
generalEmail and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
ForeignRequestBuilder |
withGeneralPhone(String generalPhone)
Sets the
generalPhone and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
ForeignRequestBuilder |
withKeyPair(KeyPair keyPair)
Sets the
keyPair and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
ForeignRequestBuilder |
withName(String name)
Sets the
name and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
ForeignRequestBuilder |
withPersonalEmail(String personalEmail)
Sets the
personalEmail and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
ForeignRequestBuilder |
withPersonalPhone(String personalPhone)
Sets the
personalPhone and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
ForeignRequestBuilder |
withSsinBis(String ssinBis)
Sets the
ssinBis and returns a reference to this ForeignRequestBuilder so that the methods can be chained together. |
public ForeignRequestBuilder withName(String name)
name
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.name
- the name
to setpublic ForeignRequestBuilder withFirstName(String firstName)
firstName
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.firstName
- the firstName
to setpublic ForeignRequestBuilder withSsinBis(String ssinBis)
ssinBis
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.ssinBis
- the ssinBis
to setpublic ForeignRequestBuilder withPersonalEmail(String personalEmail)
personalEmail
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.personalEmail
- the personalEmail
to setpublic ForeignRequestBuilder withPersonalPhone(String personalPhone)
personalPhone
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.personalPhone
- the personalPhone
to setpublic ForeignRequestBuilder withGeneralEmail(String generalEmail)
generalEmail
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.generalEmail
- the generalEmail
to setpublic ForeignRequestBuilder withGeneralPhone(String generalPhone)
generalPhone
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.generalPhone
- the generalPhone
to setpublic ForeignRequestBuilder withKeyPair(KeyPair keyPair)
keyPair
and returns a reference to this ForeignRequestBuilder so that the methods can be chained together.keyPair
- the keyPair
to setpublic ForeignerRequest build() throws TechnicalConnectorException
ForeignerRequest
built from the parameters previously set.ForeignerRequest
built with parameters of this ForeignerRequest.Builder
TechnicalConnectorException
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.