#[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 get_path_parameter_values(&self) -> &Option<Vec<String>>
pub fn get_path_parameter_values(&self) -> &Option<Vec<String>>
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 get_header_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_header_parameters(&self) -> &Option<HashMap<String, String>>
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 get_query_string_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_query_string_parameters(&self) -> &Option<HashMap<String, String>>
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 for PipeTargetHttpParametersBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for PipeTargetHttpParametersBuilder
Auto Trait Implementations§
impl Freeze for PipeTargetHttpParametersBuilder
impl RefUnwindSafe for PipeTargetHttpParametersBuilder
impl Send for PipeTargetHttpParametersBuilder
impl Sync for PipeTargetHttpParametersBuilder
impl Unpin for PipeTargetHttpParametersBuilder
impl UnwindSafe for PipeTargetHttpParametersBuilder
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> 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