public class EventingFunctionBucketBinding extends Object
Modifier and Type | Method and Description |
---|---|
EventingFunctionBucketAccess |
access()
Returns the bucket access policy for the bucket binding.
|
String |
alias()
Returns the alias for the bucket binding.
|
static EventingFunctionBucketBinding |
createReadOnly(String alias,
EventingFunctionKeyspace keyspace)
Creates a read-only bucket binding.
|
static EventingFunctionBucketBinding |
createReadWrite(String alias,
EventingFunctionKeyspace keyspace)
Creates a read-write bucket binding.
|
EventingFunctionKeyspace |
keyspace()
Returns the keyspace triple this bucket is accessing.
|
String |
toString() |
public static EventingFunctionBucketBinding createReadOnly(String alias, EventingFunctionKeyspace keyspace)
alias
- the alias for the bucket binding.keyspace
- the keyspace to which the binding points to.EventingFunctionBucketBinding
.public static EventingFunctionBucketBinding createReadWrite(String alias, EventingFunctionKeyspace keyspace)
alias
- the alias for the bucket binding.keyspace
- the keyspace to which the binding points to.EventingFunctionBucketBinding
.public String alias()
public EventingFunctionKeyspace keyspace()
public EventingFunctionBucketAccess access()
Copyright © 2024 Couchbase, Inc.. All rights reserved.