pub struct DispatchActionConfigurationBuilder { /* private fields */ }Expand description
Builder for DispatchActionConfiguration object.
Implementations§
Source§impl DispatchActionConfigurationBuilder
impl DispatchActionConfigurationBuilder
Sourcepub fn get_trigger_actions_on(&self) -> Option<&[TriggerAction]>
pub fn get_trigger_actions_on(&self) -> Option<&[TriggerAction]>
get trigger_actions_on field value.
Sourcepub fn set_trigger_actions_on(
self,
value: Option<impl Into<Vec<TriggerAction>>>,
) -> Self
pub fn set_trigger_actions_on( self, value: Option<impl Into<Vec<TriggerAction>>>, ) -> Self
set trigger_actions_on field value.
Sourcepub fn trigger_actions_on(self, value: impl Into<Vec<TriggerAction>>) -> Self
pub fn trigger_actions_on(self, value: impl Into<Vec<TriggerAction>>) -> Self
set trigger_actions_on field value.
Sourcepub fn trigger_action(self, value: impl Into<TriggerAction>) -> Self
pub fn trigger_action(self, value: impl Into<TriggerAction>) -> Self
push list element to trigger_actions_on field.
Sourcepub fn build(self) -> Result<DispatchActionConfiguration, ValidationErrors>
pub fn build(self) -> Result<DispatchActionConfiguration, ValidationErrors>
build DispatchActionConfiguration object.