public class EventingFunctionUrlBinding extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EventingFunctionUrlBinding.Builder
Allows configuring properties for the
EventingFunctionUrlBinding . |
Modifier and Type | Method and Description |
---|---|
String |
alias()
Returns the alias for the URL binding.
|
boolean |
allowCookies()
Returns true if cookies should be allowed.
|
EventingFunctionUrlAuth |
auth()
Returns the authentication mechanism configured, including no authentication.
|
static EventingFunctionUrlBinding.Builder |
builder(String hostname,
String alias)
Allows to customize the
EventingFunctionUrlBinding through a Builder API. |
static EventingFunctionUrlBinding |
create(String hostname,
String alias)
Creates a URL binding with a hostname and its alias and no authentication.
|
String |
hostname()
Returns the hostname for the URL binding.
|
String |
toString() |
boolean |
validateSslCertificate()
Returns true if the TLS certificate should be validated.
|
public static EventingFunctionUrlBinding create(String hostname, String alias)
If custom authentication or validation is needed, use the builder(String, String)
API instead.
hostname
- the hostname of the binding.alias
- the alias of the binding.EventingFunctionUrlBinding
.public static EventingFunctionUrlBinding.Builder builder(String hostname, String alias)
EventingFunctionUrlBinding
through a Builder API.hostname
- the hostname of the binding.alias
- the alias of the binding.public String hostname()
public String alias()
public boolean allowCookies()
public boolean validateSslCertificate()
public EventingFunctionUrlAuth auth()
Copyright © 2024 Couchbase, Inc.. All rights reserved.