Struct aws_sdk_drs::types::builders::ParticipatingServerBuilder
source · #[non_exhaustive]pub struct ParticipatingServerBuilder { /* private fields */ }Expand description
A builder for ParticipatingServer.
Implementations§
source§impl ParticipatingServerBuilder
impl ParticipatingServerBuilder
sourcepub fn source_server_id(self, input: impl Into<String>) -> Self
pub fn source_server_id(self, input: impl Into<String>) -> Self
The Source Server ID of a participating server.
sourcepub fn set_source_server_id(self, input: Option<String>) -> Self
pub fn set_source_server_id(self, input: Option<String>) -> Self
The Source Server ID of a participating server.
sourcepub fn get_source_server_id(&self) -> &Option<String>
pub fn get_source_server_id(&self) -> &Option<String>
The Source Server ID of a participating server.
sourcepub fn recovery_instance_id(self, input: impl Into<String>) -> Self
pub fn recovery_instance_id(self, input: impl Into<String>) -> Self
The Recovery Instance ID of a participating server.
sourcepub fn set_recovery_instance_id(self, input: Option<String>) -> Self
pub fn set_recovery_instance_id(self, input: Option<String>) -> Self
The Recovery Instance ID of a participating server.
sourcepub fn get_recovery_instance_id(&self) -> &Option<String>
pub fn get_recovery_instance_id(&self) -> &Option<String>
The Recovery Instance ID of a participating server.
sourcepub fn launch_status(self, input: LaunchStatus) -> Self
pub fn launch_status(self, input: LaunchStatus) -> Self
The launch status of a participating server.
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 server.
sourcepub fn get_launch_status(&self) -> &Option<LaunchStatus>
pub fn get_launch_status(&self) -> &Option<LaunchStatus>
The launch status of a participating server.
sourcepub fn launch_actions_status(self, input: LaunchActionsStatus) -> Self
pub fn launch_actions_status(self, input: LaunchActionsStatus) -> Self
The post-launch action runs of a participating server.
sourcepub fn set_launch_actions_status(
self,
input: Option<LaunchActionsStatus>
) -> Self
pub fn set_launch_actions_status( self, input: Option<LaunchActionsStatus> ) -> Self
The post-launch action runs of a participating server.
sourcepub fn get_launch_actions_status(&self) -> &Option<LaunchActionsStatus>
pub fn get_launch_actions_status(&self) -> &Option<LaunchActionsStatus>
The post-launch action runs of a participating server.
sourcepub fn build(self) -> ParticipatingServer
pub fn build(self) -> ParticipatingServer
Consumes the builder and constructs a ParticipatingServer.
Trait Implementations§
source§impl Clone for ParticipatingServerBuilder
impl Clone for ParticipatingServerBuilder
source§fn clone(&self) -> ParticipatingServerBuilder
fn clone(&self) -> ParticipatingServerBuilder
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 ParticipatingServerBuilder
impl Debug for ParticipatingServerBuilder
source§impl Default for ParticipatingServerBuilder
impl Default for ParticipatingServerBuilder
source§fn default() -> ParticipatingServerBuilder
fn default() -> ParticipatingServerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ParticipatingServerBuilder
impl PartialEq for ParticipatingServerBuilder
source§fn eq(&self, other: &ParticipatingServerBuilder) -> bool
fn eq(&self, other: &ParticipatingServerBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ParticipatingServerBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ParticipatingServerBuilder
impl Send for ParticipatingServerBuilder
impl Sync for ParticipatingServerBuilder
impl Unpin for ParticipatingServerBuilder
impl UnwindSafe for ParticipatingServerBuilder
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.