Package de.espirit.firstspirit.ai.dto
Interface AllowedServerFunction.Builder
- Enclosing interface:
- AllowedServerFunction
public static interface AllowedServerFunction.Builder
Builder for a server function filter.
- Since:
- 5.2.251104
-
Method Summary
Modifier and TypeMethodDescription@NotNull AllowedServerFunctioncreate()Creates a new instance.@NotNull AllowedServerFunction.BuilderfunctionName(@Nullable String functionName) Configures the name of a function to allow,nullfor no restriction.@NotNull AllowedServerFunction.BuilderpluginName(@Nullable String pluginName) Configures the plugin to allow functions from,nullfor no restriction.@NotNull AllowedServerFunction.BuilderserverName(@Nullable String serverName) Configures the server to allow functions from,nullfor no restriction.
-
Method Details
-
pluginName
@Contract("_ -> this") @NotNull @NotNull AllowedServerFunction.Builder pluginName(@Nullable @Nullable String pluginName) Configures the plugin to allow functions from,nullfor no restriction.- Parameters:
pluginName- The plugin name, ornull.- Returns:
- This builder instance.
- Since:
- 5.2.251104
- See Also:
-
serverName
@Contract("_ -> this") @NotNull @NotNull AllowedServerFunction.Builder serverName(@Nullable @Nullable String serverName) Configures the server to allow functions from,nullfor no restriction.- Parameters:
serverName- The server name, ornull.- Returns:
- This builder instance.
- Since:
- 5.2.251104
- See Also:
-
functionName
@Contract("_ -> this") @NotNull @NotNull AllowedServerFunction.Builder functionName(@Nullable @Nullable String functionName) Configures the name of a function to allow,nullfor no restriction.- Parameters:
functionName- The function name, ornull.- Returns:
- This builder instance.
- Since:
- 5.2.251104
-
create
Creates a new instance.- Returns:
- The new instance.
- Since:
- 5.2.251104
-