Struct aws_sdk_apigateway::operation::create_resource::builders::CreateResourceOutputBuilder
source · #[non_exhaustive]pub struct CreateResourceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateResourceOutput
.
Implementations§
source§impl CreateResourceOutputBuilder
impl CreateResourceOutputBuilder
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) -> CreateResourceOutput
pub fn build(self) -> CreateResourceOutput
Consumes the builder and constructs a CreateResourceOutput
.
Trait Implementations§
source§impl Clone for CreateResourceOutputBuilder
impl Clone for CreateResourceOutputBuilder
source§fn clone(&self) -> CreateResourceOutputBuilder
fn clone(&self) -> CreateResourceOutputBuilder
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 CreateResourceOutputBuilder
impl Debug for CreateResourceOutputBuilder
source§impl Default for CreateResourceOutputBuilder
impl Default for CreateResourceOutputBuilder
source§fn default() -> CreateResourceOutputBuilder
fn default() -> CreateResourceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateResourceOutputBuilder> for CreateResourceOutputBuilder
impl PartialEq<CreateResourceOutputBuilder> for CreateResourceOutputBuilder
source§fn eq(&self, other: &CreateResourceOutputBuilder) -> bool
fn eq(&self, other: &CreateResourceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateResourceOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateResourceOutputBuilder
impl Send for CreateResourceOutputBuilder
impl Sync for CreateResourceOutputBuilder
impl Unpin for CreateResourceOutputBuilder
impl UnwindSafe for CreateResourceOutputBuilder
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