Struct aws_sdk_drs::types::builders::ParticipatingResourceBuilder
source · #[non_exhaustive]pub struct ParticipatingResourceBuilder { /* private fields */ }Expand description
A builder for ParticipatingResource.
Implementations§
source§impl ParticipatingResourceBuilder
impl ParticipatingResourceBuilder
sourcepub fn participating_resource_id(self, input: ParticipatingResourceId) -> Self
pub fn participating_resource_id(self, input: ParticipatingResourceId) -> Self
The ID of a participating resource.
sourcepub fn set_participating_resource_id(
self,
input: Option<ParticipatingResourceId>
) -> Self
pub fn set_participating_resource_id( self, input: Option<ParticipatingResourceId> ) -> Self
The ID of a participating resource.
sourcepub fn get_participating_resource_id(&self) -> &Option<ParticipatingResourceId>
pub fn get_participating_resource_id(&self) -> &Option<ParticipatingResourceId>
The ID of a participating resource.
sourcepub fn launch_status(self, input: LaunchStatus) -> Self
pub fn launch_status(self, input: LaunchStatus) -> Self
The launch status of a participating resource.
sourcepub fn set_launch_status(self, input: Option<LaunchStatus>) -> Self
pub fn set_launch_status(self, input: Option<LaunchStatus>) -> Self
The launch status of a participating resource.
sourcepub fn get_launch_status(&self) -> &Option<LaunchStatus>
pub fn get_launch_status(&self) -> &Option<LaunchStatus>
The launch status of a participating resource.
sourcepub fn build(self) -> ParticipatingResource
pub fn build(self) -> ParticipatingResource
Consumes the builder and constructs a ParticipatingResource.
Trait Implementations§
source§impl Clone for ParticipatingResourceBuilder
impl Clone for ParticipatingResourceBuilder
source§fn clone(&self) -> ParticipatingResourceBuilder
fn clone(&self) -> ParticipatingResourceBuilder
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 ParticipatingResourceBuilder
impl Debug for ParticipatingResourceBuilder
source§impl Default for ParticipatingResourceBuilder
impl Default for ParticipatingResourceBuilder
source§fn default() -> ParticipatingResourceBuilder
fn default() -> ParticipatingResourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ParticipatingResourceBuilder
impl PartialEq for ParticipatingResourceBuilder
source§fn eq(&self, other: &ParticipatingResourceBuilder) -> bool
fn eq(&self, other: &ParticipatingResourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ParticipatingResourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ParticipatingResourceBuilder
impl Send for ParticipatingResourceBuilder
impl Sync for ParticipatingResourceBuilder
impl Unpin for ParticipatingResourceBuilder
impl UnwindSafe for ParticipatingResourceBuilder
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.