pub struct WorkflowBuilder { /* private fields */ }Expand description
Builder for WorkflowDefinition
Implementations§
Source§impl WorkflowBuilder
impl WorkflowBuilder
pub fn new() -> Self
pub fn use_dsl(&mut self, version: &str) -> &mut Self
pub fn with_namespace(&mut self, namespace: &str) -> &mut Self
pub fn with_name(&mut self, name: &str) -> &mut Self
pub fn with_version(&mut self, version: &str) -> &mut Self
pub fn with_title(&mut self, title: &str) -> &mut Self
pub fn with_summary(&mut self, summary: &str) -> &mut Self
pub fn with_timeout( &mut self, configure: impl FnOnce(&mut TimeoutDefinitionBuilder), ) -> &mut Self
pub fn use_authentication( &mut self, name: &str, configure: impl FnOnce(&mut AuthenticationPolicyDefinitionBuilder), ) -> &mut Self
pub fn do_( &mut self, name: &str, configure: impl FnOnce(&mut TaskDefinitionBuilder), ) -> &mut Self
pub fn build(&mut self) -> WorkflowDefinition
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkflowBuilder
impl RefUnwindSafe for WorkflowBuilder
impl Send for WorkflowBuilder
impl Sync for WorkflowBuilder
impl Unpin for WorkflowBuilder
impl UnsafeUnpin for WorkflowBuilder
impl UnwindSafe for WorkflowBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more