ServerArgs class

The set of arguments for Server. The set of arguments for Server.

Constructors

ServerArgs({Input<bool>? dropCascade, required Input<String> fdwName, Input<Map<String, String>>? options, required Input<String> serverName, Input<String>? serverOwner, Input<String>? serverType, Input<String>? serverVersion})
Creates a new ServerArgs. dropCascade When true, will drop objects that depend on the server (such as user mappings), and in turn all objects that depend on those objects . (Default: false) fdwName The name of the foreign-data wrapper that manages the server. options This clause specifies the options for the server. The options typically define the connection details of the server, but the actual names and values are dependent on the server's foreign-data wrapper. serverName The name of the foreign server to be created. serverOwner By default, the user who defines the server becomes its owner. Set this value to configure the new owner of the foreign server. serverType Optional server type, potentially useful to foreign-data wrappers. serverVersion Optional server version, potentially useful to foreign-data wrappers.
const
ServerArgs.fromMap(Map<String, dynamic> map)
factory

Properties

dropCascade → Input<bool>?
When true, will drop objects that depend on the server (such as user mappings), and in turn all objects that depend on those objects . (Default: false)
final
fdwName → Input<String>
The name of the foreign-data wrapper that manages the server. Changing this value will force the creation of a new resource as this value can only be set when the foreign server is created.
final
hashCode → int
The hash code for this object.
no setterinherited
options → Input<Map<String, String>>?
This clause specifies the options for the server. The options typically define the connection details of the server, but the actual names and values are dependent on the server's foreign-data wrapper.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverName → Input<String>
The name of the foreign server to be created.
final
serverOwner → Input<String>?
By default, the user who defines the server becomes its owner. Set this value to configure the new owner of the foreign server.
final
serverType → Input<String>?
Optional server type, potentially useful to foreign-data wrappers. Changing this value will force the creation of a new resource as this value can only be set when the foreign server is created.
final
serverVersion → Input<String>?
Optional server version, potentially useful to foreign-data wrappers.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited