Struct aws_sdk_datapipeline::types::builders::TaskObjectBuilder
source · #[non_exhaustive]pub struct TaskObjectBuilder { /* private fields */ }
Expand description
A builder for TaskObject
.
Implementations§
source§impl TaskObjectBuilder
impl TaskObjectBuilder
sourcepub fn task_id(self, input: impl Into<String>) -> Self
pub fn task_id(self, input: impl Into<String>) -> Self
An internal identifier for the task. This ID is passed to the SetTaskStatus
and ReportTaskProgress
actions.
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
An internal identifier for the task. This ID is passed to the SetTaskStatus
and ReportTaskProgress
actions.
sourcepub fn pipeline_id(self, input: impl Into<String>) -> Self
pub fn pipeline_id(self, input: impl Into<String>) -> Self
The ID of the pipeline that provided the task.
sourcepub fn set_pipeline_id(self, input: Option<String>) -> Self
pub fn set_pipeline_id(self, input: Option<String>) -> Self
The ID of the pipeline that provided the task.
sourcepub fn attempt_id(self, input: impl Into<String>) -> Self
pub fn attempt_id(self, input: impl Into<String>) -> Self
The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
sourcepub fn set_attempt_id(self, input: Option<String>) -> Self
pub fn set_attempt_id(self, input: Option<String>) -> Self
The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
sourcepub fn objects(self, k: impl Into<String>, v: PipelineObject) -> Self
pub fn objects(self, k: impl Into<String>, v: PipelineObject) -> Self
Adds a key-value pair to objects
.
To override the contents of this collection use set_objects
.
Connection information for the location where the task runner will publish the output of the task.
sourcepub fn set_objects(self, input: Option<HashMap<String, PipelineObject>>) -> Self
pub fn set_objects(self, input: Option<HashMap<String, PipelineObject>>) -> Self
Connection information for the location where the task runner will publish the output of the task.
sourcepub fn build(self) -> TaskObject
pub fn build(self) -> TaskObject
Consumes the builder and constructs a TaskObject
.
Trait Implementations§
source§impl Clone for TaskObjectBuilder
impl Clone for TaskObjectBuilder
source§fn clone(&self) -> TaskObjectBuilder
fn clone(&self) -> TaskObjectBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskObjectBuilder
impl Debug for TaskObjectBuilder
source§impl Default for TaskObjectBuilder
impl Default for TaskObjectBuilder
source§fn default() -> TaskObjectBuilder
fn default() -> TaskObjectBuilder
source§impl PartialEq<TaskObjectBuilder> for TaskObjectBuilder
impl PartialEq<TaskObjectBuilder> for TaskObjectBuilder
source§fn eq(&self, other: &TaskObjectBuilder) -> bool
fn eq(&self, other: &TaskObjectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.