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 get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
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 get_fields(&self) -> &Option<Vec<Field>>
pub fn get_fields(&self) -> &Option<Vec<Field>>
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
.
source§impl ReportTaskProgressInputBuilder
impl ReportTaskProgressInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ReportTaskProgressOutput, SdkError<ReportTaskProgressError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ReportTaskProgressOutput, SdkError<ReportTaskProgressError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReportTaskProgressInputBuilder
impl Clone for ReportTaskProgressInputBuilder
source§fn clone(&self) -> ReportTaskProgressInputBuilder
fn clone(&self) -> ReportTaskProgressInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReportTaskProgressInputBuilder
impl Default for ReportTaskProgressInputBuilder
source§fn default() -> ReportTaskProgressInputBuilder
fn default() -> ReportTaskProgressInputBuilder
source§impl PartialEq for ReportTaskProgressInputBuilder
impl PartialEq for ReportTaskProgressInputBuilder
source§fn eq(&self, other: &ReportTaskProgressInputBuilder) -> bool
fn eq(&self, other: &ReportTaskProgressInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReportTaskProgressInputBuilder
Auto Trait Implementations§
impl Freeze for ReportTaskProgressInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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