#[non_exhaustive]pub struct ListWorkflowsItemBuilder { /* private fields */ }
Expand description
A builder for ListWorkflowsItem
.
Implementations§
source§impl ListWorkflowsItemBuilder
impl ListWorkflowsItemBuilder
sourcepub fn workflow_type(self, input: WorkflowType) -> Self
pub fn workflow_type(self, input: WorkflowType) -> Self
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
This field is required.sourcepub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
pub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
sourcepub fn get_workflow_type(&self) -> &Option<WorkflowType>
pub fn get_workflow_type(&self) -> &Option<WorkflowType>
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
Unique identifier for the workflow.
This field is required.sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
Unique identifier for the workflow.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
Unique identifier for the workflow.
sourcepub fn status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
Status of workflow execution.
This field is required.sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
Status of workflow execution.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
Status of workflow execution.
sourcepub fn status_description(self, input: impl Into<String>) -> Self
pub fn status_description(self, input: impl Into<String>) -> Self
Description for workflow execution status.
This field is required.sourcepub fn set_status_description(self, input: Option<String>) -> Self
pub fn set_status_description(self, input: Option<String>) -> Self
Description for workflow execution status.
sourcepub fn get_status_description(&self) -> &Option<String>
pub fn get_status_description(&self) -> &Option<String>
Description for workflow execution status.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Creation timestamp for workflow.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Creation timestamp for workflow.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
Creation timestamp for workflow.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
Last updated timestamp for workflow.
This field is required.sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
Last updated timestamp for workflow.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
Last updated timestamp for workflow.
sourcepub fn build(self) -> Result<ListWorkflowsItem, BuildError>
pub fn build(self) -> Result<ListWorkflowsItem, BuildError>
Consumes the builder and constructs a ListWorkflowsItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListWorkflowsItemBuilder
impl Clone for ListWorkflowsItemBuilder
source§fn clone(&self) -> ListWorkflowsItemBuilder
fn clone(&self) -> ListWorkflowsItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListWorkflowsItemBuilder
impl Debug for ListWorkflowsItemBuilder
source§impl Default for ListWorkflowsItemBuilder
impl Default for ListWorkflowsItemBuilder
source§fn default() -> ListWorkflowsItemBuilder
fn default() -> ListWorkflowsItemBuilder
source§impl PartialEq for ListWorkflowsItemBuilder
impl PartialEq for ListWorkflowsItemBuilder
source§fn eq(&self, other: &ListWorkflowsItemBuilder) -> bool
fn eq(&self, other: &ListWorkflowsItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListWorkflowsItemBuilder
Auto Trait Implementations§
impl Freeze for ListWorkflowsItemBuilder
impl RefUnwindSafe for ListWorkflowsItemBuilder
impl Send for ListWorkflowsItemBuilder
impl Sync for ListWorkflowsItemBuilder
impl Unpin for ListWorkflowsItemBuilder
impl UnwindSafe for ListWorkflowsItemBuilder
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