Struct aws_sdk_apigateway::types::builders::BasePathMappingBuilder
source · #[non_exhaustive]pub struct BasePathMappingBuilder { /* private fields */ }
Expand description
A builder for BasePathMapping
.
Implementations§
source§impl BasePathMappingBuilder
impl BasePathMappingBuilder
sourcepub fn base_path(self, input: impl Into<String>) -> Self
pub fn base_path(self, input: impl Into<String>) -> Self
The base path name that callers of the API must provide as part of the URL after the domain name.
sourcepub fn set_base_path(self, input: Option<String>) -> Self
pub fn set_base_path(self, input: Option<String>) -> Self
The base path name that callers of the API must provide as part of the URL after the domain name.
sourcepub fn get_base_path(&self) -> &Option<String>
pub fn get_base_path(&self) -> &Option<String>
The base path name that callers of the API must provide as part of the URL after the domain name.
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The string identifier of the associated RestApi.
sourcepub fn build(self) -> BasePathMapping
pub fn build(self) -> BasePathMapping
Consumes the builder and constructs a BasePathMapping
.
Trait Implementations§
source§impl Clone for BasePathMappingBuilder
impl Clone for BasePathMappingBuilder
source§fn clone(&self) -> BasePathMappingBuilder
fn clone(&self) -> BasePathMappingBuilder
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 BasePathMappingBuilder
impl Debug for BasePathMappingBuilder
source§impl Default for BasePathMappingBuilder
impl Default for BasePathMappingBuilder
source§fn default() -> BasePathMappingBuilder
fn default() -> BasePathMappingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BasePathMappingBuilder> for BasePathMappingBuilder
impl PartialEq<BasePathMappingBuilder> for BasePathMappingBuilder
source§fn eq(&self, other: &BasePathMappingBuilder) -> bool
fn eq(&self, other: &BasePathMappingBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BasePathMappingBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BasePathMappingBuilder
impl Send for BasePathMappingBuilder
impl Sync for BasePathMappingBuilder
impl Unpin for BasePathMappingBuilder
impl UnwindSafe for BasePathMappingBuilder
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