Struct aws_sdk_pipes::model::pipe_target_http_parameters::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PipeTargetHttpParameters
.
Implementations§
source§impl Builder
impl Builder
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
.