Struct aws_sdk_glue::operation::resume_workflow_run::builders::ResumeWorkflowRunInputBuilder
source · #[non_exhaustive]pub struct ResumeWorkflowRunInputBuilder { /* private fields */ }Expand description
A builder for ResumeWorkflowRunInput.
Implementations§
source§impl ResumeWorkflowRunInputBuilder
impl ResumeWorkflowRunInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the workflow to resume.
This field is required.sourcepub fn run_id(self, input: impl Into<String>) -> Self
pub fn run_id(self, input: impl Into<String>) -> Self
The ID of the workflow run to resume.
This field is required.sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
The ID of the workflow run to resume.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
The ID of the workflow run to resume.
sourcepub fn node_ids(self, input: impl Into<String>) -> Self
pub fn node_ids(self, input: impl Into<String>) -> Self
Appends an item to node_ids.
To override the contents of this collection use set_node_ids.
A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.
sourcepub fn set_node_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_node_ids(self, input: Option<Vec<String>>) -> Self
A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.
sourcepub fn get_node_ids(&self) -> &Option<Vec<String>>
pub fn get_node_ids(&self) -> &Option<Vec<String>>
A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.
sourcepub fn build(self) -> Result<ResumeWorkflowRunInput, BuildError>
pub fn build(self) -> Result<ResumeWorkflowRunInput, BuildError>
Consumes the builder and constructs a ResumeWorkflowRunInput.
source§impl ResumeWorkflowRunInputBuilder
impl ResumeWorkflowRunInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ResumeWorkflowRunOutput, SdkError<ResumeWorkflowRunError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ResumeWorkflowRunOutput, SdkError<ResumeWorkflowRunError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ResumeWorkflowRunInputBuilder
impl Clone for ResumeWorkflowRunInputBuilder
source§fn clone(&self) -> ResumeWorkflowRunInputBuilder
fn clone(&self) -> ResumeWorkflowRunInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ResumeWorkflowRunInputBuilder
impl Default for ResumeWorkflowRunInputBuilder
source§fn default() -> ResumeWorkflowRunInputBuilder
fn default() -> ResumeWorkflowRunInputBuilder
source§impl PartialEq for ResumeWorkflowRunInputBuilder
impl PartialEq for ResumeWorkflowRunInputBuilder
source§fn eq(&self, other: &ResumeWorkflowRunInputBuilder) -> bool
fn eq(&self, other: &ResumeWorkflowRunInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResumeWorkflowRunInputBuilder
Auto Trait Implementations§
impl Freeze for ResumeWorkflowRunInputBuilder
impl RefUnwindSafe for ResumeWorkflowRunInputBuilder
impl Send for ResumeWorkflowRunInputBuilder
impl Sync for ResumeWorkflowRunInputBuilder
impl Unpin for ResumeWorkflowRunInputBuilder
impl UnwindSafe for ResumeWorkflowRunInputBuilder
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