Struct aws_sdk_apigateway::operation::get_base_path_mapping::builders::GetBasePathMappingInputBuilder
source · #[non_exhaustive]pub struct GetBasePathMappingInputBuilder { /* private fields */ }
Expand description
A builder for GetBasePathMappingInput
.
Implementations§
source§impl GetBasePathMappingInputBuilder
impl GetBasePathMappingInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain name of the BasePathMapping resource to be described.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain name of the BasePathMapping resource to be described.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The domain name of the BasePathMapping resource to be described.
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. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify any base path name after the domain name.
This field is required.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. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify any base path name 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. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify any base path name after the domain name.
sourcepub fn build(self) -> Result<GetBasePathMappingInput, BuildError>
pub fn build(self) -> Result<GetBasePathMappingInput, BuildError>
Consumes the builder and constructs a GetBasePathMappingInput
.
source§impl GetBasePathMappingInputBuilder
impl GetBasePathMappingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetBasePathMappingOutput, SdkError<GetBasePathMappingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetBasePathMappingOutput, SdkError<GetBasePathMappingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetBasePathMappingInputBuilder
impl Clone for GetBasePathMappingInputBuilder
source§fn clone(&self) -> GetBasePathMappingInputBuilder
fn clone(&self) -> GetBasePathMappingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetBasePathMappingInputBuilder
impl Default for GetBasePathMappingInputBuilder
source§fn default() -> GetBasePathMappingInputBuilder
fn default() -> GetBasePathMappingInputBuilder
source§impl PartialEq for GetBasePathMappingInputBuilder
impl PartialEq for GetBasePathMappingInputBuilder
source§fn eq(&self, other: &GetBasePathMappingInputBuilder) -> bool
fn eq(&self, other: &GetBasePathMappingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.