Struct aws_sdk_apigateway::operation::update_resource::builders::UpdateResourceOutputBuilder
source · #[non_exhaustive]pub struct UpdateResourceOutputBuilder { /* private fields */ }Expand description
A builder for UpdateResourceOutput.
Implementations§
source§impl UpdateResourceOutputBuilder
impl UpdateResourceOutputBuilder
sourcepub fn set_parent_id(self, input: Option<String>) -> Self
pub fn set_parent_id(self, input: Option<String>) -> Self
The parent resource's identifier.
sourcepub fn get_parent_id(&self) -> &Option<String>
pub fn get_parent_id(&self) -> &Option<String>
The parent resource's identifier.
sourcepub fn path_part(self, input: impl Into<String>) -> Self
pub fn path_part(self, input: impl Into<String>) -> Self
The last path segment for this resource.
sourcepub fn set_path_part(self, input: Option<String>) -> Self
pub fn set_path_part(self, input: Option<String>) -> Self
The last path segment for this resource.
sourcepub fn get_path_part(&self) -> &Option<String>
pub fn get_path_part(&self) -> &Option<String>
The last path segment for this resource.
sourcepub fn resource_methods(self, k: impl Into<String>, v: Method) -> Self
pub fn resource_methods(self, k: impl Into<String>, v: Method) -> Self
Adds a key-value pair to resource_methods.
To override the contents of this collection use set_resource_methods.
Gets an API resource's method of a given HTTP verb.
sourcepub fn set_resource_methods(
self,
input: Option<HashMap<String, Method>>,
) -> Self
pub fn set_resource_methods( self, input: Option<HashMap<String, Method>>, ) -> Self
Gets an API resource's method of a given HTTP verb.
sourcepub fn get_resource_methods(&self) -> &Option<HashMap<String, Method>>
pub fn get_resource_methods(&self) -> &Option<HashMap<String, Method>>
Gets an API resource's method of a given HTTP verb.
sourcepub fn build(self) -> UpdateResourceOutput
pub fn build(self) -> UpdateResourceOutput
Consumes the builder and constructs a UpdateResourceOutput.
Trait Implementations§
source§impl Clone for UpdateResourceOutputBuilder
impl Clone for UpdateResourceOutputBuilder
source§fn clone(&self) -> UpdateResourceOutputBuilder
fn clone(&self) -> UpdateResourceOutputBuilder
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 UpdateResourceOutputBuilder
impl Debug for UpdateResourceOutputBuilder
source§impl Default for UpdateResourceOutputBuilder
impl Default for UpdateResourceOutputBuilder
source§fn default() -> UpdateResourceOutputBuilder
fn default() -> UpdateResourceOutputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for UpdateResourceOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateResourceOutputBuilder
impl RefUnwindSafe for UpdateResourceOutputBuilder
impl Send for UpdateResourceOutputBuilder
impl Sync for UpdateResourceOutputBuilder
impl Unpin for UpdateResourceOutputBuilder
impl UnwindSafe for UpdateResourceOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.