#[non_exhaustive]pub struct PipeEnrichmentHttpParametersBuilder { /* private fields */ }
Expand description
A builder for PipeEnrichmentHttpParameters
.
Implementations§
source§impl PipeEnrichmentHttpParametersBuilder
impl PipeEnrichmentHttpParametersBuilder
sourcepub fn path_parameter_values(self, input: impl Into<String>) -> Self
pub fn path_parameter_values(self, input: impl Into<String>) -> Self
Appends an item to path_parameter_values
.
To override the contents of this collection use set_path_parameter_values
.
The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").
sourcepub fn set_path_parameter_values(self, input: Option<Vec<String>>) -> Self
pub fn set_path_parameter_values(self, input: Option<Vec<String>>) -> Self
The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").
sourcepub fn header_parameters(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn header_parameters( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to header_parameters
.
To override the contents of this collection use set_header_parameters
.
The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
sourcepub fn set_header_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_header_parameters( self, input: Option<HashMap<String, String>> ) -> Self
The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
sourcepub fn query_string_parameters(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn query_string_parameters( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to query_string_parameters
.
To override the contents of this collection use set_query_string_parameters
.
The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
sourcepub fn set_query_string_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_query_string_parameters( self, input: Option<HashMap<String, String>> ) -> Self
The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
sourcepub fn build(self) -> PipeEnrichmentHttpParameters
pub fn build(self) -> PipeEnrichmentHttpParameters
Consumes the builder and constructs a PipeEnrichmentHttpParameters
.
Trait Implementations§
source§impl Clone for PipeEnrichmentHttpParametersBuilder
impl Clone for PipeEnrichmentHttpParametersBuilder
source§fn clone(&self) -> PipeEnrichmentHttpParametersBuilder
fn clone(&self) -> PipeEnrichmentHttpParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipeEnrichmentHttpParametersBuilder
impl Default for PipeEnrichmentHttpParametersBuilder
source§fn default() -> PipeEnrichmentHttpParametersBuilder
fn default() -> PipeEnrichmentHttpParametersBuilder
source§impl PartialEq<PipeEnrichmentHttpParametersBuilder> for PipeEnrichmentHttpParametersBuilder
impl PartialEq<PipeEnrichmentHttpParametersBuilder> for PipeEnrichmentHttpParametersBuilder
source§fn eq(&self, other: &PipeEnrichmentHttpParametersBuilder) -> bool
fn eq(&self, other: &PipeEnrichmentHttpParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.