pub struct Builder { /* private fields */ }
Expand description
A builder for ValidateSecurityProfileBehaviorsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn behaviors(self, input: Behavior) -> Self
pub fn behaviors(self, input: Behavior) -> Self
Appends an item to behaviors
.
To override the contents of this collection use set_behaviors
.
Specifies the behaviors that, when violated by a device (thing), cause an alert.
sourcepub fn set_behaviors(self, input: Option<Vec<Behavior>>) -> Self
pub fn set_behaviors(self, input: Option<Vec<Behavior>>) -> Self
Specifies the behaviors that, when violated by a device (thing), cause an alert.
sourcepub fn build(self) -> Result<ValidateSecurityProfileBehaviorsInput, BuildError>
pub fn build(self) -> Result<ValidateSecurityProfileBehaviorsInput, BuildError>
Consumes the builder and constructs a ValidateSecurityProfileBehaviorsInput
.