Class EventingFunctionUrlBinding.Builder
- java.lang.Object
-
- com.couchbase.client.java.manager.eventing.EventingFunctionUrlBinding.Builder
-
- Enclosing class:
- EventingFunctionUrlBinding
public static class EventingFunctionUrlBinding.Builder extends Object
Allows configuring properties for theEventingFunctionUrlBinding.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventingFunctionUrlBinding.BuilderallowCookies(boolean allowCookies)Set to true if cookies should be allowed.EventingFunctionUrlBinding.Builderauth(EventingFunctionUrlAuth auth)Allows to configure the URL authentication mechanism that should be used.EventingFunctionUrlBindingbuild()Builds the immutableEventingFunctionUrlBindingfor consumption.EventingFunctionUrlBinding.BuildervalidateSslCertificate(boolean validateSslCertificate)Set to true if the SSL/TLS certificate should be validated.
-
-
-
Method Detail
-
allowCookies
public EventingFunctionUrlBinding.Builder allowCookies(boolean allowCookies)
Set to true if cookies should be allowed.- Parameters:
allowCookies- true if cookies should be allowed.- Returns:
- this
EventingFunctionUrlBinding.Builderfor chaining purposes.
-
validateSslCertificate
public EventingFunctionUrlBinding.Builder validateSslCertificate(boolean validateSslCertificate)
Set to true if the SSL/TLS certificate should be validated.- Parameters:
validateSslCertificate- true if the cert should be validated.- Returns:
- this
EventingFunctionUrlBinding.Builderfor chaining purposes.
-
auth
public EventingFunctionUrlBinding.Builder auth(EventingFunctionUrlAuth auth)
Allows to configure the URL authentication mechanism that should be used.Please refer to the static builder options available on
EventingFunctionUrlAuthfor more information.- Parameters:
auth- the url authentication mechanism that should be used.- Returns:
- this
EventingFunctionUrlBinding.Builderfor chaining purposes.
-
build
public EventingFunctionUrlBinding build()
Builds the immutableEventingFunctionUrlBindingfor consumption.
-
-