Struct aws_sdk_glue::model::connection_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ConnectionInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the connection.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the connection.
sourcepub fn connection_type(self, input: ConnectionType) -> Self
pub fn connection_type(self, input: ConnectionType) -> Self
The type of the connection. Currently, these types are supported:
-
JDBC- Designates a connection to a database through Java Database Connectivity (JDBC). -
KAFKA- Designates a connection to an Apache Kafka streaming platform. -
MONGODB- Designates a connection to a MongoDB document database. -
NETWORK- Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). -
MARKETPLACE- Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue. -
CUSTOM- Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.
SFTP is not supported.
sourcepub fn set_connection_type(self, input: Option<ConnectionType>) -> Self
pub fn set_connection_type(self, input: Option<ConnectionType>) -> Self
The type of the connection. Currently, these types are supported:
-
JDBC- Designates a connection to a database through Java Database Connectivity (JDBC). -
KAFKA- Designates a connection to an Apache Kafka streaming platform. -
MONGODB- Designates a connection to a MongoDB document database. -
NETWORK- Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). -
MARKETPLACE- Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue. -
CUSTOM- Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.
SFTP is not supported.
sourcepub fn match_criteria(self, input: impl Into<String>) -> Self
pub fn match_criteria(self, input: impl Into<String>) -> Self
Appends an item to match_criteria.
To override the contents of this collection use set_match_criteria.
A list of criteria that can be used in selecting this connection.
sourcepub fn set_match_criteria(self, input: Option<Vec<String>>) -> Self
pub fn set_match_criteria(self, input: Option<Vec<String>>) -> Self
A list of criteria that can be used in selecting this connection.
sourcepub fn connection_properties(
self,
k: ConnectionPropertyKey,
v: impl Into<String>
) -> Self
pub fn connection_properties(
self,
k: ConnectionPropertyKey,
v: impl Into<String>
) -> Self
Adds a key-value pair to connection_properties.
To override the contents of this collection use set_connection_properties.
These key-value pairs define parameters for the connection.
sourcepub fn set_connection_properties(
self,
input: Option<HashMap<ConnectionPropertyKey, String>>
) -> Self
pub fn set_connection_properties(
self,
input: Option<HashMap<ConnectionPropertyKey, String>>
) -> Self
These key-value pairs define parameters for the connection.
sourcepub fn physical_connection_requirements(
self,
input: PhysicalConnectionRequirements
) -> Self
pub fn physical_connection_requirements(
self,
input: PhysicalConnectionRequirements
) -> Self
A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to successfully make this connection.
sourcepub fn set_physical_connection_requirements(
self,
input: Option<PhysicalConnectionRequirements>
) -> Self
pub fn set_physical_connection_requirements(
self,
input: Option<PhysicalConnectionRequirements>
) -> Self
A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to successfully make this connection.
sourcepub fn build(self) -> ConnectionInput
pub fn build(self) -> ConnectionInput
Consumes the builder and constructs a ConnectionInput.