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 ==
.