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