pub struct WorkflowActiveFluentBuilder { /* private fields */ }
Expand description
Fluent builder for the workflow_active
waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send
method, it has
a wait
method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters
trait and calling the methods
prefixed with wait_until
.
Implementations§
source§impl WorkflowActiveFluentBuilder
impl WorkflowActiveFluentBuilder
sourcepub fn as_input(&self) -> &GetWorkflowInputBuilder
pub fn as_input(&self) -> &GetWorkflowInputBuilder
Access the GetWorkflow as a reference.
sourcepub async fn wait(
self,
max_wait: Duration,
) -> Result<WorkflowActiveFinalPoll, WaitUntilWorkflowActiveError>
pub async fn wait( self, max_wait: Duration, ) -> Result<WorkflowActiveFinalPoll, WaitUntilWorkflowActiveError>
Wait until a workflow is active.
sourcepub fn type(self, input: WorkflowType) -> Self
pub fn type(self, input: WorkflowType) -> Self
The workflow's type.
sourcepub fn set_type(self, input: Option<WorkflowType>) -> Self
pub fn set_type(self, input: Option<WorkflowType>) -> Self
The workflow's type.
sourcepub fn get_type(&self) -> &Option<WorkflowType>
pub fn get_type(&self) -> &Option<WorkflowType>
The workflow's type.
sourcepub fn export(self, input: WorkflowExport) -> Self
pub fn export(self, input: WorkflowExport) -> Self
Appends an item to export
.
To override the contents of this collection use set_export
.
The export format for the workflow.
sourcepub fn set_export(self, input: Option<Vec<WorkflowExport>>) -> Self
pub fn set_export(self, input: Option<Vec<WorkflowExport>>) -> Self
The export format for the workflow.
sourcepub fn get_export(&self) -> &Option<Vec<WorkflowExport>>
pub fn get_export(&self) -> &Option<Vec<WorkflowExport>>
The export format for the workflow.
sourcepub fn workflow_owner_id(self, input: impl Into<String>) -> Self
pub fn workflow_owner_id(self, input: impl Into<String>) -> Self
The ID of the workflow owner.
sourcepub fn set_workflow_owner_id(self, input: Option<String>) -> Self
pub fn set_workflow_owner_id(self, input: Option<String>) -> Self
The ID of the workflow owner.
sourcepub fn get_workflow_owner_id(&self) -> &Option<String>
pub fn get_workflow_owner_id(&self) -> &Option<String>
The ID of the workflow owner.
Trait Implementations§
source§impl Clone for WorkflowActiveFluentBuilder
impl Clone for WorkflowActiveFluentBuilder
source§fn clone(&self) -> WorkflowActiveFluentBuilder
fn clone(&self) -> WorkflowActiveFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for WorkflowActiveFluentBuilder
impl !RefUnwindSafe for WorkflowActiveFluentBuilder
impl Send for WorkflowActiveFluentBuilder
impl Sync for WorkflowActiveFluentBuilder
impl Unpin for WorkflowActiveFluentBuilder
impl !UnwindSafe for WorkflowActiveFluentBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more