Struct aws_sdk_appflow::types::Task
source · #[non_exhaustive]pub struct Task {
pub source_fields: Vec<String>,
pub connector_operator: Option<ConnectorOperator>,
pub destination_field: Option<String>,
pub task_type: TaskType,
pub task_properties: Option<HashMap<OperatorPropertiesKeys, String>>,
}
Expand description
A class for modeling different type of tasks. Task implementation varies based on the TaskType
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_fields: Vec<String>
The source fields to which a particular task is applied.
connector_operator: Option<ConnectorOperator>
The operation to be performed on the provided source fields.
destination_field: Option<String>
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
task_type: TaskType
Specifies the particular task implementation that Amazon AppFlow performs.
task_properties: Option<HashMap<OperatorPropertiesKeys, String>>
A map used to store task-related information. The execution service looks for particular information based on the TaskType
.
Implementations§
source§impl Task
impl Task
sourcepub fn source_fields(&self) -> &[String]
pub fn source_fields(&self) -> &[String]
The source fields to which a particular task is applied.
sourcepub fn connector_operator(&self) -> Option<&ConnectorOperator>
pub fn connector_operator(&self) -> Option<&ConnectorOperator>
The operation to be performed on the provided source fields.
sourcepub fn destination_field(&self) -> Option<&str>
pub fn destination_field(&self) -> Option<&str>
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
sourcepub fn task_type(&self) -> &TaskType
pub fn task_type(&self) -> &TaskType
Specifies the particular task implementation that Amazon AppFlow performs.
sourcepub fn task_properties(
&self,
) -> Option<&HashMap<OperatorPropertiesKeys, String>>
pub fn task_properties( &self, ) -> Option<&HashMap<OperatorPropertiesKeys, String>>
A map used to store task-related information. The execution service looks for particular information based on the TaskType
.
Trait Implementations§
source§impl PartialEq for Task
impl PartialEq for Task
impl StructuralPartialEq for Task
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
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