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