public static class EventingFunction.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
EventingFunction.Builder |
bucketBindings(List<EventingFunctionBucketBinding> bucketBindings)
Sets the bucket bindings for the function.
|
EventingFunction |
build()
Builds the immutable
EventingFunction. |
EventingFunction.Builder |
constantBindings(List<EventingFunctionConstantBinding> constantBindings)
Sets the constant bindings for the function.
|
EventingFunction.Builder |
enforceSchema(boolean enforceSchema)
Set to true if the schema schould be enforced.
|
EventingFunction.Builder |
settings(EventingFunctionSettings settings)
Sets various function settings to customize the runtime behavior.
|
EventingFunction.Builder |
urlBindings(List<EventingFunctionUrlBinding> urlBindings)
Sets the URL bindings for the function.
|
public EventingFunction.Builder urlBindings(List<EventingFunctionUrlBinding> urlBindings)
urlBindings - the URL bindings for the function.EventingFunction.Builder for chaining purposes.public EventingFunction.Builder bucketBindings(List<EventingFunctionBucketBinding> bucketBindings)
bucketBindings - the bucket bindings for the function.EventingFunction.Builder for chaining purposes.public EventingFunction.Builder constantBindings(List<EventingFunctionConstantBinding> constantBindings)
constantBindings - the constant bindings for the function.EventingFunction.Builder for chaining purposes.public EventingFunction.Builder enforceSchema(boolean enforceSchema)
enforceSchema - true if it should be enforced.EventingFunction.Builder for chaining purposes.public EventingFunction.Builder settings(EventingFunctionSettings settings)
settings - the settings to apply to the function.EventingFunction.Builder for chaining purposes.public EventingFunction build()
EventingFunction.Copyright © 2024 Couchbase, Inc.. All rights reserved.