Struct aws_sdk_elastictranscoder::output::test_role_output::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for TestRoleOutput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn success(self, input: impl Into<String>) -> Self
pub fn success(self, input: impl Into<String>) -> Self
If the operation is successful, this value is true
; otherwise, the value is false
.
sourcepub fn set_success(self, input: Option<String>) -> Self
pub fn set_success(self, input: Option<String>) -> Self
If the operation is successful, this value is true
; otherwise, the value is false
.
sourcepub fn messages(self, input: impl Into<String>) -> Self
pub fn messages(self, input: impl Into<String>) -> Self
Appends an item to messages
.
To override the contents of this collection use set_messages
.
If the Success
element contains false
, this value is an array of one or more error messages that were generated during the test process.
sourcepub fn set_messages(self, input: Option<Vec<String>>) -> Self
pub fn set_messages(self, input: Option<Vec<String>>) -> Self
If the Success
element contains false
, this value is an array of one or more error messages that were generated during the test process.
sourcepub fn build(self) -> TestRoleOutput
pub fn build(self) -> TestRoleOutput
Consumes the builder and constructs a TestRoleOutput
.
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