Struct aws_sdk_datapipeline::operation::report_task_progress::builders::ReportTaskProgressInputBuilder
source · #[non_exhaustive]pub struct ReportTaskProgressInputBuilder { /* private fields */ }
Expand description
A builder for ReportTaskProgressInput
.
Implementations§
source§impl ReportTaskProgressInputBuilder
impl ReportTaskProgressInputBuilder
sourcepub fn task_id(self, input: impl Into<String>) -> Self
pub fn task_id(self, input: impl Into<String>) -> Self
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask
.
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask
.
sourcepub fn fields(self, input: Field) -> Self
pub fn fields(self, input: Field) -> Self
Appends an item to fields
.
To override the contents of this collection use set_fields
.
Key-value pairs that define the properties of the ReportTaskProgressInput object.
sourcepub fn set_fields(self, input: Option<Vec<Field>>) -> Self
pub fn set_fields(self, input: Option<Vec<Field>>) -> Self
Key-value pairs that define the properties of the ReportTaskProgressInput object.
sourcepub fn build(self) -> Result<ReportTaskProgressInput, BuildError>
pub fn build(self) -> Result<ReportTaskProgressInput, BuildError>
Consumes the builder and constructs a ReportTaskProgressInput
.
Trait Implementations§
source§impl Clone for ReportTaskProgressInputBuilder
impl Clone for ReportTaskProgressInputBuilder
source§fn clone(&self) -> ReportTaskProgressInputBuilder
fn clone(&self) -> ReportTaskProgressInputBuilder
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 ReportTaskProgressInputBuilder
impl Default for ReportTaskProgressInputBuilder
source§fn default() -> ReportTaskProgressInputBuilder
fn default() -> ReportTaskProgressInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReportTaskProgressInputBuilder> for ReportTaskProgressInputBuilder
impl PartialEq<ReportTaskProgressInputBuilder> for ReportTaskProgressInputBuilder
source§fn eq(&self, other: &ReportTaskProgressInputBuilder) -> bool
fn eq(&self, other: &ReportTaskProgressInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReportTaskProgressInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReportTaskProgressInputBuilder
impl Send for ReportTaskProgressInputBuilder
impl Sync for ReportTaskProgressInputBuilder
impl Unpin for ReportTaskProgressInputBuilder
impl UnwindSafe for ReportTaskProgressInputBuilder
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