Class EventingFunctionUrlBinding
java.lang.Object
com.couchbase.client.java.manager.eventing.EventingFunctionUrlBinding
Represents a URL binding of an eventing function.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Allows configuring properties for theEventingFunctionUrlBinding
. -
Method Summary
Modifier and TypeMethodDescriptionalias()
Returns the alias for the URL binding.boolean
Returns true if cookies should be allowed.auth()
Returns the authentication mechanism configured, including no authentication.Allows to customize theEventingFunctionUrlBinding
through a Builder API.static EventingFunctionUrlBinding
Creates a URL binding with a hostname and its alias and no authentication.hostname()
Returns the hostname for the URL binding.toString()
boolean
Returns true if the TLS certificate should be validated.
-
Method Details
-
create
Creates a URL binding with a hostname and its alias and no authentication.If custom authentication or validation is needed, use the
builder(String, String)
API instead.- Parameters:
hostname
- the hostname of the binding.alias
- the alias of the binding.- Returns:
- a initialized
EventingFunctionUrlBinding
.
-
builder
Allows to customize theEventingFunctionUrlBinding
through a Builder API.- Parameters:
hostname
- the hostname of the binding.alias
- the alias of the binding.- Returns:
- A builder which can be turned into a binding once its properties are configured.
-
hostname
Returns the hostname for the URL binding. -
alias
Returns the alias for the URL binding. -
allowCookies
public boolean allowCookies()Returns true if cookies should be allowed. -
validateSslCertificate
public boolean validateSslCertificate()Returns true if the TLS certificate should be validated. -
auth
Returns the authentication mechanism configured, including no authentication. -
toString
-