Struct aws_sdk_apigatewayv2::types::builders::ApiMappingBuilder
source · #[non_exhaustive]pub struct ApiMappingBuilder { /* private fields */ }
Expand description
A builder for ApiMapping
.
Implementations§
source§impl ApiMappingBuilder
impl ApiMappingBuilder
sourcepub fn api_id(self, input: impl Into<String>) -> Self
pub fn api_id(self, input: impl Into<String>) -> Self
The API identifier.
This field is required.sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API identifier.
sourcepub fn get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
The API identifier.
sourcepub fn api_mapping_id(self, input: impl Into<String>) -> Self
pub fn api_mapping_id(self, input: impl Into<String>) -> Self
The API mapping identifier.
sourcepub fn set_api_mapping_id(self, input: Option<String>) -> Self
pub fn set_api_mapping_id(self, input: Option<String>) -> Self
The API mapping identifier.
sourcepub fn get_api_mapping_id(&self) -> &Option<String>
pub fn get_api_mapping_id(&self) -> &Option<String>
The API mapping identifier.
sourcepub fn api_mapping_key(self, input: impl Into<String>) -> Self
pub fn api_mapping_key(self, input: impl Into<String>) -> Self
The API mapping key.
sourcepub fn set_api_mapping_key(self, input: Option<String>) -> Self
pub fn set_api_mapping_key(self, input: Option<String>) -> Self
The API mapping key.
sourcepub fn get_api_mapping_key(&self) -> &Option<String>
pub fn get_api_mapping_key(&self) -> &Option<String>
The API mapping key.
sourcepub fn build(self) -> ApiMapping
pub fn build(self) -> ApiMapping
Consumes the builder and constructs a ApiMapping
.
Trait Implementations§
source§impl Clone for ApiMappingBuilder
impl Clone for ApiMappingBuilder
source§fn clone(&self) -> ApiMappingBuilder
fn clone(&self) -> ApiMappingBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiMappingBuilder
impl Debug for ApiMappingBuilder
source§impl Default for ApiMappingBuilder
impl Default for ApiMappingBuilder
source§fn default() -> ApiMappingBuilder
fn default() -> ApiMappingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ApiMappingBuilder
impl PartialEq for ApiMappingBuilder
source§fn eq(&self, other: &ApiMappingBuilder) -> bool
fn eq(&self, other: &ApiMappingBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApiMappingBuilder
Auto Trait Implementations§
impl Freeze for ApiMappingBuilder
impl RefUnwindSafe for ApiMappingBuilder
impl Send for ApiMappingBuilder
impl Sync for ApiMappingBuilder
impl Unpin for ApiMappingBuilder
impl UnwindSafe for ApiMappingBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.