#[non_exhaustive]pub struct PipeTargetHttpParametersBuilder { /* private fields */ }
Expand description
A builder for PipeTargetHttpParameters
.
Implementations§
source§impl PipeTargetHttpParametersBuilder
impl PipeTargetHttpParametersBuilder
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) -> PipeTargetHttpParameters
pub fn build(self) -> PipeTargetHttpParameters
Consumes the builder and constructs a PipeTargetHttpParameters
.
Trait Implementations§
source§impl Clone for PipeTargetHttpParametersBuilder
impl Clone for PipeTargetHttpParametersBuilder
source§fn clone(&self) -> PipeTargetHttpParametersBuilder
fn clone(&self) -> PipeTargetHttpParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipeTargetHttpParametersBuilder
impl Default for PipeTargetHttpParametersBuilder
source§fn default() -> PipeTargetHttpParametersBuilder
fn default() -> PipeTargetHttpParametersBuilder
source§impl PartialEq<PipeTargetHttpParametersBuilder> for PipeTargetHttpParametersBuilder
impl PartialEq<PipeTargetHttpParametersBuilder> for PipeTargetHttpParametersBuilder
source§fn eq(&self, other: &PipeTargetHttpParametersBuilder) -> bool
fn eq(&self, other: &PipeTargetHttpParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.