Struct aws_sdk_apigateway::operation::update_base_path_mapping::builders::UpdateBasePathMappingInputBuilder
source · #[non_exhaustive]pub struct UpdateBasePathMappingInputBuilder { /* private fields */ }
Expand description
A builder for UpdateBasePathMappingInput
.
Implementations§
source§impl UpdateBasePathMappingInputBuilder
impl UpdateBasePathMappingInputBuilder
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 change.
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 change.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The domain name of the BasePathMapping resource to change.
sourcepub fn base_path(self, input: impl Into<String>) -> Self
pub fn base_path(self, input: impl Into<String>) -> Self
The base path of the BasePathMapping resource to change.
To specify an empty base path, set this parameter to '(none)'
.
sourcepub fn set_base_path(self, input: Option<String>) -> Self
pub fn set_base_path(self, input: Option<String>) -> Self
The base path of the BasePathMapping resource to change.
To specify an empty base path, set this parameter to '(none)'
.
sourcepub fn get_base_path(&self) -> &Option<String>
pub fn get_base_path(&self) -> &Option<String>
The base path of the BasePathMapping resource to change.
To specify an empty base path, set this parameter to '(none)'
.
sourcepub fn patch_operations(self, input: PatchOperation) -> Self
pub fn patch_operations(self, input: PatchOperation) -> Self
Appends an item to patch_operations
.
To override the contents of this collection use set_patch_operations
.
For more information about supported patch operations, see Patch Operations.
sourcepub fn set_patch_operations(self, input: Option<Vec<PatchOperation>>) -> Self
pub fn set_patch_operations(self, input: Option<Vec<PatchOperation>>) -> Self
For more information about supported patch operations, see Patch Operations.
sourcepub fn get_patch_operations(&self) -> &Option<Vec<PatchOperation>>
pub fn get_patch_operations(&self) -> &Option<Vec<PatchOperation>>
For more information about supported patch operations, see Patch Operations.
sourcepub fn build(self) -> Result<UpdateBasePathMappingInput, BuildError>
pub fn build(self) -> Result<UpdateBasePathMappingInput, BuildError>
Consumes the builder and constructs a UpdateBasePathMappingInput
.
source§impl UpdateBasePathMappingInputBuilder
impl UpdateBasePathMappingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateBasePathMappingOutput, SdkError<UpdateBasePathMappingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateBasePathMappingOutput, SdkError<UpdateBasePathMappingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateBasePathMappingInputBuilder
impl Clone for UpdateBasePathMappingInputBuilder
source§fn clone(&self) -> UpdateBasePathMappingInputBuilder
fn clone(&self) -> UpdateBasePathMappingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateBasePathMappingInputBuilder
impl Default for UpdateBasePathMappingInputBuilder
source§fn default() -> UpdateBasePathMappingInputBuilder
fn default() -> UpdateBasePathMappingInputBuilder
source§impl PartialEq<UpdateBasePathMappingInputBuilder> for UpdateBasePathMappingInputBuilder
impl PartialEq<UpdateBasePathMappingInputBuilder> for UpdateBasePathMappingInputBuilder
source§fn eq(&self, other: &UpdateBasePathMappingInputBuilder) -> bool
fn eq(&self, other: &UpdateBasePathMappingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.