Interface: IServiceBuilder<S, F>
@types.IServiceBuilder
Type parameters
Name | Type |
---|---|
S | extends ServiceTypes |
F | extends FileTypes |
Hierarchy
IBuilder
<NautilusService
<S
,F
>>↳
IServiceBuilder
Implemented by
Properties
addConsumerParameter
• addConsumerParameter: (parameter
: NautilusConsumerParameter
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (parameter
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
parameter | NautilusConsumerParameter |
Returns
IServiceBuilder
<S
, F
>
Defined in
addFile
• addFile: (file
: ServiceFileType
<F
>) => IServiceBuilder
<S
, F
>
Type declaration
▸ (file
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
file | ServiceFileType <F > |
Returns
IServiceBuilder
<S
, F
>
Defined in
addTrustedAlgorithm
• addTrustedAlgorithm: (algorithm
: PublisherTrustedAlgorithm
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (algorithm
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
algorithm | PublisherTrustedAlgorithm |
Returns
IServiceBuilder
<S
, F
>
Defined in
addTrustedAlgorithmPublisher
• addTrustedAlgorithmPublisher: (publisher
: string
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (publisher
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
publisher | string |
Returns
IServiceBuilder
<S
, F
>
Defined in
allowAlgorithmNetworkAccess
• allowAlgorithmNetworkAccess: (allow?
: boolean
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (allow?
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
allow? | boolean |
Returns
IServiceBuilder
<S
, F
>
Defined in
allowRawAlgorithms
• allowRawAlgorithms: (allow?
: boolean
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (allow?
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
allow? | boolean |
Returns
IServiceBuilder
<S
, F
>
Defined in
build
• build: () => NautilusService
<S
, F
>
Type declaration
▸ (): NautilusService
<S
, F
>
Returns
NautilusService
<S
, F
>
Inherited from
Defined in
reset
• reset: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
setDatatokenData
• setDatatokenData: (datatokenCreateData
: DatatokenCreateParamsWithoutOwner
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (datatokenCreateData
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
datatokenCreateData | DatatokenCreateParamsWithoutOwner |
Returns
IServiceBuilder
<S
, F
>
Defined in
setDatatokenNameAndSymbol
• setDatatokenNameAndSymbol: (dtName
: string
, dtSymbol
: string
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (dtName
, dtSymbol
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
dtName | string |
dtSymbol | string |
Returns
IServiceBuilder
<S
, F
>
Defined in
setDescription
• setDescription: (description
: string
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (description
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
description | string |
Returns
IServiceBuilder
<S
, F
>
Defined in
setName
• setName: (name
: string
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (name
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
name | string |
Returns
IServiceBuilder
<S
, F
>
Defined in
setPricing
• setPricing: (pricing
: PricingConfig
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (pricing
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
pricing | PricingConfig |
Returns
IServiceBuilder
<S
, F
>
Defined in
setServiceEndpoint
• setServiceEndpoint: (endpoint
: string
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (endpoint
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
endpoint | string |
Returns
IServiceBuilder
<S
, F
>
Defined in
setTimeout
• setTimeout: (timeout
: number
) => IServiceBuilder
<S
, F
>
Type declaration
▸ (timeout
): IServiceBuilder
<S
, F
>
Parameters
Name | Type |
---|---|
timeout | number |
Returns
IServiceBuilder
<S
, F
>