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
source§impl PartialEq<UpdateResourceOutputBuilder> for UpdateResourceOutputBuilder
impl PartialEq<UpdateResourceOutputBuilder> for UpdateResourceOutputBuilder
source§fn eq(&self, other: &UpdateResourceOutputBuilder) -> bool
fn eq(&self, other: &UpdateResourceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResourceOutputBuilder
Auto Trait Implementations§
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