Struct aws_sdk_workmail::operation::test_availability_configuration::builders::TestAvailabilityConfigurationOutputBuilder
source · #[non_exhaustive]pub struct TestAvailabilityConfigurationOutputBuilder { /* private fields */ }Expand description
A builder for TestAvailabilityConfigurationOutput.
Implementations§
source§impl TestAvailabilityConfigurationOutputBuilder
impl TestAvailabilityConfigurationOutputBuilder
sourcepub fn test_passed(self, input: bool) -> Self
pub fn test_passed(self, input: bool) -> Self
Boolean indicating whether the test passed or failed.
sourcepub fn set_test_passed(self, input: Option<bool>) -> Self
pub fn set_test_passed(self, input: Option<bool>) -> Self
Boolean indicating whether the test passed or failed.
sourcepub fn get_test_passed(&self) -> &Option<bool>
pub fn get_test_passed(&self) -> &Option<bool>
Boolean indicating whether the test passed or failed.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
String containing the reason for a failed test if TestPassed is false.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
String containing the reason for a failed test if TestPassed is false.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
String containing the reason for a failed test if TestPassed is false.
sourcepub fn build(self) -> TestAvailabilityConfigurationOutput
pub fn build(self) -> TestAvailabilityConfigurationOutput
Consumes the builder and constructs a TestAvailabilityConfigurationOutput.
Trait Implementations§
source§impl Clone for TestAvailabilityConfigurationOutputBuilder
impl Clone for TestAvailabilityConfigurationOutputBuilder
source§fn clone(&self) -> TestAvailabilityConfigurationOutputBuilder
fn clone(&self) -> TestAvailabilityConfigurationOutputBuilder
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 Default for TestAvailabilityConfigurationOutputBuilder
impl Default for TestAvailabilityConfigurationOutputBuilder
source§fn default() -> TestAvailabilityConfigurationOutputBuilder
fn default() -> TestAvailabilityConfigurationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TestAvailabilityConfigurationOutputBuilder
impl PartialEq for TestAvailabilityConfigurationOutputBuilder
source§fn eq(&self, other: &TestAvailabilityConfigurationOutputBuilder) -> bool
fn eq(&self, other: &TestAvailabilityConfigurationOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestAvailabilityConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for TestAvailabilityConfigurationOutputBuilder
impl RefUnwindSafe for TestAvailabilityConfigurationOutputBuilder
impl Send for TestAvailabilityConfigurationOutputBuilder
impl Sync for TestAvailabilityConfigurationOutputBuilder
impl Unpin for TestAvailabilityConfigurationOutputBuilder
impl UnwindSafe for TestAvailabilityConfigurationOutputBuilder
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.