Struct aws_sdk_glue::operation::put_workflow_run_properties::builders::PutWorkflowRunPropertiesInputBuilder
source · #[non_exhaustive]pub struct PutWorkflowRunPropertiesInputBuilder { /* private fields */ }Expand description
A builder for PutWorkflowRunPropertiesInput.
Implementations§
source§impl PutWorkflowRunPropertiesInputBuilder
impl PutWorkflowRunPropertiesInputBuilder
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 for which the run properties should be updated.
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 for which the run properties should be updated.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
The ID of the workflow run for which the run properties should be updated.
sourcepub fn run_properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn run_properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to run_properties.
To override the contents of this collection use set_run_properties.
The properties to put for the specified run.
sourcepub fn set_run_properties(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_run_properties(self, input: Option<HashMap<String, String>>) -> Self
The properties to put for the specified run.
sourcepub fn get_run_properties(&self) -> &Option<HashMap<String, String>>
pub fn get_run_properties(&self) -> &Option<HashMap<String, String>>
The properties to put for the specified run.
sourcepub fn build(self) -> Result<PutWorkflowRunPropertiesInput, BuildError>
pub fn build(self) -> Result<PutWorkflowRunPropertiesInput, BuildError>
Consumes the builder and constructs a PutWorkflowRunPropertiesInput.
source§impl PutWorkflowRunPropertiesInputBuilder
impl PutWorkflowRunPropertiesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutWorkflowRunPropertiesOutput, SdkError<PutWorkflowRunPropertiesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutWorkflowRunPropertiesOutput, SdkError<PutWorkflowRunPropertiesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutWorkflowRunPropertiesInputBuilder
impl Clone for PutWorkflowRunPropertiesInputBuilder
source§fn clone(&self) -> PutWorkflowRunPropertiesInputBuilder
fn clone(&self) -> PutWorkflowRunPropertiesInputBuilder
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 Default for PutWorkflowRunPropertiesInputBuilder
impl Default for PutWorkflowRunPropertiesInputBuilder
source§fn default() -> PutWorkflowRunPropertiesInputBuilder
fn default() -> PutWorkflowRunPropertiesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PutWorkflowRunPropertiesInputBuilder> for PutWorkflowRunPropertiesInputBuilder
impl PartialEq<PutWorkflowRunPropertiesInputBuilder> for PutWorkflowRunPropertiesInputBuilder
source§fn eq(&self, other: &PutWorkflowRunPropertiesInputBuilder) -> bool
fn eq(&self, other: &PutWorkflowRunPropertiesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutWorkflowRunPropertiesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PutWorkflowRunPropertiesInputBuilder
impl Send for PutWorkflowRunPropertiesInputBuilder
impl Sync for PutWorkflowRunPropertiesInputBuilder
impl Unpin for PutWorkflowRunPropertiesInputBuilder
impl UnwindSafe for PutWorkflowRunPropertiesInputBuilder
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