#[non_exhaustive]pub struct GetWorkflowInputBuilder { /* private fields */ }
Expand description
A builder for GetWorkflowInput
.
Implementations§
source§impl GetWorkflowInputBuilder
impl GetWorkflowInputBuilder
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.
sourcepub fn build(self) -> Result<GetWorkflowInput, BuildError>
pub fn build(self) -> Result<GetWorkflowInput, BuildError>
Consumes the builder and constructs a GetWorkflowInput
.
source§impl GetWorkflowInputBuilder
impl GetWorkflowInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetWorkflowOutput, SdkError<GetWorkflowError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetWorkflowOutput, SdkError<GetWorkflowError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetWorkflowInputBuilder
impl Clone for GetWorkflowInputBuilder
source§fn clone(&self) -> GetWorkflowInputBuilder
fn clone(&self) -> GetWorkflowInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetWorkflowInputBuilder
impl Debug for GetWorkflowInputBuilder
source§impl Default for GetWorkflowInputBuilder
impl Default for GetWorkflowInputBuilder
source§fn default() -> GetWorkflowInputBuilder
fn default() -> GetWorkflowInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetWorkflowInputBuilder
impl PartialEq for GetWorkflowInputBuilder
source§fn eq(&self, other: &GetWorkflowInputBuilder) -> bool
fn eq(&self, other: &GetWorkflowInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetWorkflowInputBuilder
Auto Trait Implementations§
impl Freeze for GetWorkflowInputBuilder
impl RefUnwindSafe for GetWorkflowInputBuilder
impl Send for GetWorkflowInputBuilder
impl Sync for GetWorkflowInputBuilder
impl Unpin for GetWorkflowInputBuilder
impl UnwindSafe for GetWorkflowInputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.