#[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 ==.impl StructuralPartialEq for PipeEnrichmentParametersBuilder
Auto Trait Implementations§
impl Freeze for PipeEnrichmentParametersBuilder
impl RefUnwindSafe for PipeEnrichmentParametersBuilder
impl Send for PipeEnrichmentParametersBuilder
impl Sync for PipeEnrichmentParametersBuilder
impl Unpin for PipeEnrichmentParametersBuilder
impl UnwindSafe for PipeEnrichmentParametersBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more