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