Struct aws_sdk_cloudfront::output::test_function_output::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for TestFunctionOutput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn test_result(self, input: TestResult) -> Self
pub fn test_result(self, input: TestResult) -> Self
An object that represents the result of running the function with the provided event object.
sourcepub fn set_test_result(self, input: Option<TestResult>) -> Self
pub fn set_test_result(self, input: Option<TestResult>) -> Self
An object that represents the result of running the function with the provided event object.
sourcepub fn build(self) -> TestFunctionOutput
pub fn build(self) -> TestFunctionOutput
Consumes the builder and constructs a TestFunctionOutput
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more