Struct aws_sdk_apigatewayv2::operation::get_route_response::builders::GetRouteResponseOutputBuilder
source · #[non_exhaustive]pub struct GetRouteResponseOutputBuilder { /* private fields */ }Expand description
A builder for GetRouteResponseOutput.
Implementations§
source§impl GetRouteResponseOutputBuilder
impl GetRouteResponseOutputBuilder
sourcepub fn model_selection_expression(self, input: impl Into<String>) -> Self
pub fn model_selection_expression(self, input: impl Into<String>) -> Self
Represents the model selection expression of a route response. Supported only for WebSocket APIs.
sourcepub fn set_model_selection_expression(self, input: Option<String>) -> Self
pub fn set_model_selection_expression(self, input: Option<String>) -> Self
Represents the model selection expression of a route response. Supported only for WebSocket APIs.
sourcepub fn get_model_selection_expression(&self) -> &Option<String>
pub fn get_model_selection_expression(&self) -> &Option<String>
Represents the model selection expression of a route response. Supported only for WebSocket APIs.
sourcepub fn response_models(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn response_models(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to response_models.
To override the contents of this collection use set_response_models.
Represents the response models of a route response.
sourcepub fn set_response_models(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_response_models(self, input: Option<HashMap<String, String>>) -> Self
Represents the response models of a route response.
sourcepub fn get_response_models(&self) -> &Option<HashMap<String, String>>
pub fn get_response_models(&self) -> &Option<HashMap<String, String>>
Represents the response models of a route response.
sourcepub fn response_parameters(
self,
k: impl Into<String>,
v: ParameterConstraints
) -> Self
pub fn response_parameters( self, k: impl Into<String>, v: ParameterConstraints ) -> Self
Adds a key-value pair to response_parameters.
To override the contents of this collection use set_response_parameters.
Represents the response parameters of a route response.
sourcepub fn set_response_parameters(
self,
input: Option<HashMap<String, ParameterConstraints>>
) -> Self
pub fn set_response_parameters( self, input: Option<HashMap<String, ParameterConstraints>> ) -> Self
Represents the response parameters of a route response.
sourcepub fn get_response_parameters(
&self
) -> &Option<HashMap<String, ParameterConstraints>>
pub fn get_response_parameters( &self ) -> &Option<HashMap<String, ParameterConstraints>>
Represents the response parameters of a route response.
sourcepub fn route_response_id(self, input: impl Into<String>) -> Self
pub fn route_response_id(self, input: impl Into<String>) -> Self
Represents the identifier of a route response.
sourcepub fn set_route_response_id(self, input: Option<String>) -> Self
pub fn set_route_response_id(self, input: Option<String>) -> Self
Represents the identifier of a route response.
sourcepub fn get_route_response_id(&self) -> &Option<String>
pub fn get_route_response_id(&self) -> &Option<String>
Represents the identifier of a route response.
sourcepub fn route_response_key(self, input: impl Into<String>) -> Self
pub fn route_response_key(self, input: impl Into<String>) -> Self
Represents the route response key of a route response.
sourcepub fn set_route_response_key(self, input: Option<String>) -> Self
pub fn set_route_response_key(self, input: Option<String>) -> Self
Represents the route response key of a route response.
sourcepub fn get_route_response_key(&self) -> &Option<String>
pub fn get_route_response_key(&self) -> &Option<String>
Represents the route response key of a route response.
sourcepub fn build(self) -> GetRouteResponseOutput
pub fn build(self) -> GetRouteResponseOutput
Consumes the builder and constructs a GetRouteResponseOutput.
Trait Implementations§
source§impl Clone for GetRouteResponseOutputBuilder
impl Clone for GetRouteResponseOutputBuilder
source§fn clone(&self) -> GetRouteResponseOutputBuilder
fn clone(&self) -> GetRouteResponseOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetRouteResponseOutputBuilder
impl Default for GetRouteResponseOutputBuilder
source§fn default() -> GetRouteResponseOutputBuilder
fn default() -> GetRouteResponseOutputBuilder
source§impl PartialEq for GetRouteResponseOutputBuilder
impl PartialEq for GetRouteResponseOutputBuilder
source§fn eq(&self, other: &GetRouteResponseOutputBuilder) -> bool
fn eq(&self, other: &GetRouteResponseOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetRouteResponseOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRouteResponseOutputBuilder
impl RefUnwindSafe for GetRouteResponseOutputBuilder
impl Send for GetRouteResponseOutputBuilder
impl Sync for GetRouteResponseOutputBuilder
impl Unpin for GetRouteResponseOutputBuilder
impl UnwindSafe for GetRouteResponseOutputBuilder
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