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.
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 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 for UpdateBasePathMappingInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for UpdateBasePathMappingInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateBasePathMappingInputBuilder
impl RefUnwindSafe for UpdateBasePathMappingInputBuilder
impl Send for UpdateBasePathMappingInputBuilder
impl Sync for UpdateBasePathMappingInputBuilder
impl Unpin for UpdateBasePathMappingInputBuilder
impl UnwindSafe for UpdateBasePathMappingInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more