Struct aws_sdk_transfer::types::TagStepDetails
source · #[non_exhaustive]pub struct TagStepDetails {
pub name: Option<String>,
pub tags: Option<Vec<S3Tag>>,
pub source_file_location: Option<String>,
}
Expand description
Each step type has its own StepDetails
structure.
The key/value pairs used to tag a file during the execution of a workflow step.
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.name: Option<String>
The name of the step, used as an identifier.
Array that contains from 1 to 10 key/value pairs.
source_file_location: Option<String>
Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.
-
To use the previous file as the input, enter
${previous.file}
. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. -
To use the originally uploaded file location as input for this step, enter
${original.file}
.
Implementations§
source§impl TagStepDetails
impl TagStepDetails
Array that contains from 1 to 10 key/value pairs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn source_file_location(&self) -> Option<&str>
pub fn source_file_location(&self) -> Option<&str>
Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.
-
To use the previous file as the input, enter
${previous.file}
. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. -
To use the originally uploaded file location as input for this step, enter
${original.file}
.
source§impl TagStepDetails
impl TagStepDetails
sourcepub fn builder() -> TagStepDetailsBuilder
pub fn builder() -> TagStepDetailsBuilder
Creates a new builder-style object to manufacture TagStepDetails
.
Trait Implementations§
source§impl Clone for TagStepDetails
impl Clone for TagStepDetails
source§fn clone(&self) -> TagStepDetails
fn clone(&self) -> TagStepDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TagStepDetails
impl Debug for TagStepDetails
source§impl PartialEq for TagStepDetails
impl PartialEq for TagStepDetails
source§fn eq(&self, other: &TagStepDetails) -> bool
fn eq(&self, other: &TagStepDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TagStepDetails
Auto Trait Implementations§
impl Freeze for TagStepDetails
impl RefUnwindSafe for TagStepDetails
impl Send for TagStepDetails
impl Sync for TagStepDetails
impl Unpin for TagStepDetails
impl UnwindSafe for TagStepDetails
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> 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