Class EventingFunctionUrlBinding.Builder
java.lang.Object
com.couchbase.client.java.manager.eventing.EventingFunctionUrlBinding.Builder
- Enclosing class:
EventingFunctionUrlBinding
Allows configuring properties for the
EventingFunctionUrlBinding
.-
Method Summary
Modifier and TypeMethodDescriptionallowCookies
(boolean allowCookies) Set to true if cookies should be allowed.auth
(EventingFunctionUrlAuth auth) Allows to configure the URL authentication mechanism that should be used.build()
Builds the immutableEventingFunctionUrlBinding
for consumption.validateSslCertificate
(boolean validateSslCertificate) Set to true if the SSL/TLS certificate should be validated.
-
Method Details
-
allowCookies
Set to true if cookies should be allowed.- Parameters:
allowCookies
- true if cookies should be allowed.- Returns:
- this
EventingFunctionUrlBinding.Builder
for chaining purposes.
-
validateSslCertificate
Set to true if the SSL/TLS certificate should be validated.- Parameters:
validateSslCertificate
- true if the cert should be validated.- Returns:
- this
EventingFunctionUrlBinding.Builder
for chaining purposes.
-
auth
Allows to configure the URL authentication mechanism that should be used.Please refer to the static builder options available on
EventingFunctionUrlAuth
for more information.- Parameters:
auth
- the url authentication mechanism that should be used.- Returns:
- this
EventingFunctionUrlBinding.Builder
for chaining purposes.
-
build
Builds the immutableEventingFunctionUrlBinding
for consumption.
-