Struct aws_sdk_lambda::model::self_managed_event_source::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SelfManagedEventSource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn endpoints(self, k: EndPointType, v: Vec<String>) -> Self
pub fn endpoints(self, k: EndPointType, v: Vec<String>) -> Self
Adds a key-value pair to endpoints
.
To override the contents of this collection use set_endpoints
.
The list of bootstrap servers for your Kafka brokers in the following format: "KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]
.
sourcepub fn set_endpoints(
self,
input: Option<HashMap<EndPointType, Vec<String>>>
) -> Self
pub fn set_endpoints(
self,
input: Option<HashMap<EndPointType, Vec<String>>>
) -> Self
The list of bootstrap servers for your Kafka brokers in the following format: "KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]
.
sourcepub fn build(self) -> SelfManagedEventSource
pub fn build(self) -> SelfManagedEventSource
Consumes the builder and constructs a SelfManagedEventSource
.