#[non_exhaustive]pub struct SelfManageResourcesBuilder { /* private fields */ }Expand description
A builder for SelfManageResources.
Implementations§
source§impl SelfManageResourcesBuilder
impl SelfManageResourcesBuilder
sourcepub fn target_destination(self, input: SelfManageTargetDestination) -> Self
pub fn target_destination(self, input: SelfManageTargetDestination) -> Self
Appends an item to target_destination.
To override the contents of this collection use set_target_destination.
Self-managed resources target destination.
sourcepub fn set_target_destination(
self,
input: Option<Vec<SelfManageTargetDestination>>
) -> Self
pub fn set_target_destination( self, input: Option<Vec<SelfManageTargetDestination>> ) -> Self
Self-managed resources target destination.
sourcepub fn get_target_destination(
&self
) -> &Option<Vec<SelfManageTargetDestination>>
pub fn get_target_destination( &self ) -> &Option<Vec<SelfManageTargetDestination>>
Self-managed resources target destination.
sourcepub fn build(self) -> Result<SelfManageResources, BuildError>
pub fn build(self) -> Result<SelfManageResources, BuildError>
Consumes the builder and constructs a SelfManageResources.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SelfManageResourcesBuilder
impl Clone for SelfManageResourcesBuilder
source§fn clone(&self) -> SelfManageResourcesBuilder
fn clone(&self) -> SelfManageResourcesBuilder
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 SelfManageResourcesBuilder
impl Debug for SelfManageResourcesBuilder
source§impl Default for SelfManageResourcesBuilder
impl Default for SelfManageResourcesBuilder
source§fn default() -> SelfManageResourcesBuilder
fn default() -> SelfManageResourcesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SelfManageResourcesBuilder
impl PartialEq for SelfManageResourcesBuilder
source§fn eq(&self, other: &SelfManageResourcesBuilder) -> bool
fn eq(&self, other: &SelfManageResourcesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SelfManageResourcesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SelfManageResourcesBuilder
impl Send for SelfManageResourcesBuilder
impl Sync for SelfManageResourcesBuilder
impl Unpin for SelfManageResourcesBuilder
impl UnwindSafe for SelfManageResourcesBuilder
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>
Creates a shared type from an unshared type.