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 get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
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 get_pipeline_id(&self) -> &Option<String>
pub fn get_pipeline_id(&self) -> &Option<String>
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 get_attempt_id(&self) -> &Option<String>
pub fn get_attempt_id(&self) -> &Option<String>
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 get_objects(&self) -> &Option<HashMap<String, PipelineObject>>
pub fn get_objects(&self) -> &Option<HashMap<String, PipelineObject>>
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 for TaskObjectBuilder
impl PartialEq for TaskObjectBuilder
impl StructuralPartialEq for TaskObjectBuilder
Auto Trait Implementations§
impl Freeze for TaskObjectBuilder
impl RefUnwindSafe for TaskObjectBuilder
impl Send for TaskObjectBuilder
impl Sync for TaskObjectBuilder
impl Unpin for TaskObjectBuilder
impl UnwindSafe for TaskObjectBuilder
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