Struct aws_sdk_transfer::types::builders::CustomStepDetailsBuilder
source · #[non_exhaustive]pub struct CustomStepDetailsBuilder { /* private fields */ }
Expand description
A builder for CustomStepDetails
.
Implementations§
source§impl CustomStepDetailsBuilder
impl CustomStepDetailsBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the step, used as an identifier.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the step, used as an identifier.
sourcepub fn target(self, input: impl Into<String>) -> Self
pub fn target(self, input: impl Into<String>) -> Self
The ARN for the Lambda function that is being called.
sourcepub fn set_target(self, input: Option<String>) -> Self
pub fn set_target(self, input: Option<String>) -> Self
The ARN for the Lambda function that is being called.
sourcepub fn get_target(&self) -> &Option<String>
pub fn get_target(&self) -> &Option<String>
The ARN for the Lambda function that is being called.
sourcepub fn timeout_seconds(self, input: i32) -> Self
pub fn timeout_seconds(self, input: i32) -> Self
Timeout, in seconds, for the step.
sourcepub fn set_timeout_seconds(self, input: Option<i32>) -> Self
pub fn set_timeout_seconds(self, input: Option<i32>) -> Self
Timeout, in seconds, for the step.
sourcepub fn get_timeout_seconds(&self) -> &Option<i32>
pub fn get_timeout_seconds(&self) -> &Option<i32>
Timeout, in seconds, for the step.
sourcepub fn source_file_location(self, input: impl Into<String>) -> Self
pub fn source_file_location(self, input: impl Into<String>) -> Self
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}
.
sourcepub fn set_source_file_location(self, input: Option<String>) -> Self
pub fn set_source_file_location(self, input: Option<String>) -> Self
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}
.
sourcepub fn get_source_file_location(&self) -> &Option<String>
pub fn get_source_file_location(&self) -> &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}
.
sourcepub fn build(self) -> CustomStepDetails
pub fn build(self) -> CustomStepDetails
Consumes the builder and constructs a CustomStepDetails
.
Trait Implementations§
source§impl Clone for CustomStepDetailsBuilder
impl Clone for CustomStepDetailsBuilder
source§fn clone(&self) -> CustomStepDetailsBuilder
fn clone(&self) -> CustomStepDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomStepDetailsBuilder
impl Debug for CustomStepDetailsBuilder
source§impl Default for CustomStepDetailsBuilder
impl Default for CustomStepDetailsBuilder
source§fn default() -> CustomStepDetailsBuilder
fn default() -> CustomStepDetailsBuilder
source§impl PartialEq for CustomStepDetailsBuilder
impl PartialEq for CustomStepDetailsBuilder
source§fn eq(&self, other: &CustomStepDetailsBuilder) -> bool
fn eq(&self, other: &CustomStepDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomStepDetailsBuilder
Auto Trait Implementations§
impl Freeze for CustomStepDetailsBuilder
impl RefUnwindSafe for CustomStepDetailsBuilder
impl Send for CustomStepDetailsBuilder
impl Sync for CustomStepDetailsBuilder
impl Unpin for CustomStepDetailsBuilder
impl UnwindSafe for CustomStepDetailsBuilder
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