Struct aws_sdk_elastictranscoder::output::test_role_output::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for TestRoleOutput.
Implementations§
source§impl 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.