#[non_exhaustive]pub struct PipeEnrichmentParametersBuilder { /* private fields */ }
Expand description
A builder for PipeEnrichmentParameters
.
Implementations§
source§impl PipeEnrichmentParametersBuilder
impl PipeEnrichmentParametersBuilder
sourcepub fn input_template(self, input: impl Into<String>) -> Self
pub fn input_template(self, input: impl Into<String>) -> Self
Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
sourcepub fn set_input_template(self, input: Option<String>) -> Self
pub fn set_input_template(self, input: Option<String>) -> Self
Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
sourcepub fn get_input_template(&self) -> &Option<String>
pub fn get_input_template(&self) -> &Option<String>
Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.
To remove an input template, specify an empty string.
sourcepub fn http_parameters(self, input: PipeEnrichmentHttpParameters) -> Self
pub fn http_parameters(self, input: PipeEnrichmentHttpParameters) -> Self
Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.
sourcepub fn set_http_parameters(
self,
input: Option<PipeEnrichmentHttpParameters>
) -> Self
pub fn set_http_parameters( self, input: Option<PipeEnrichmentHttpParameters> ) -> Self
Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.
sourcepub fn get_http_parameters(&self) -> &Option<PipeEnrichmentHttpParameters>
pub fn get_http_parameters(&self) -> &Option<PipeEnrichmentHttpParameters>
Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.
If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.
sourcepub fn build(self) -> PipeEnrichmentParameters
pub fn build(self) -> PipeEnrichmentParameters
Consumes the builder and constructs a PipeEnrichmentParameters
.
Trait Implementations§
source§impl Clone for PipeEnrichmentParametersBuilder
impl Clone for PipeEnrichmentParametersBuilder
source§fn clone(&self) -> PipeEnrichmentParametersBuilder
fn clone(&self) -> PipeEnrichmentParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipeEnrichmentParametersBuilder
impl Default for PipeEnrichmentParametersBuilder
source§fn default() -> PipeEnrichmentParametersBuilder
fn default() -> PipeEnrichmentParametersBuilder
source§impl PartialEq for PipeEnrichmentParametersBuilder
impl PartialEq for PipeEnrichmentParametersBuilder
source§fn eq(&self, other: &PipeEnrichmentParametersBuilder) -> bool
fn eq(&self, other: &PipeEnrichmentParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.