Struct aws_sdk_datapipeline::model::task_object::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for TaskObject
.
Implementations
sourceimpl Builder
impl Builder
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
.