Struct aws_sdk_iotdeviceadvisor::model::group_result::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GroupResult
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
Group result ID.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
Group Result Name.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
Group Result Name.
sourcepub fn tests(self, input: TestCaseRun) -> Self
pub fn tests(self, input: TestCaseRun) -> Self
Appends an item to tests
.
To override the contents of this collection use set_tests
.
Tests under Group Result.
sourcepub fn set_tests(self, input: Option<Vec<TestCaseRun>>) -> Self
pub fn set_tests(self, input: Option<Vec<TestCaseRun>>) -> Self
Tests under Group Result.
sourcepub fn build(self) -> GroupResult
pub fn build(self) -> GroupResult
Consumes the builder and constructs a GroupResult
.