Struct aws_sdk_amplify::types::builders::StepBuilder
source · #[non_exhaustive]pub struct StepBuilder { /* private fields */ }Expand description
A builder for Step.
Implementations§
source§impl StepBuilder
impl StepBuilder
sourcepub fn step_name(self, input: impl Into<String>) -> Self
pub fn step_name(self, input: impl Into<String>) -> Self
The name of the execution step.
This field is required.sourcepub fn set_step_name(self, input: Option<String>) -> Self
pub fn set_step_name(self, input: Option<String>) -> Self
The name of the execution step.
sourcepub fn get_step_name(&self) -> &Option<String>
pub fn get_step_name(&self) -> &Option<String>
The name of the execution step.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start date and time of the execution step.
This field is required.sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start date and time of the execution step.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start date and time of the execution step.
sourcepub fn status(self, input: JobStatus) -> Self
pub fn status(self, input: JobStatus) -> Self
The status of the execution step.
This field is required.sourcepub fn set_status(self, input: Option<JobStatus>) -> Self
pub fn set_status(self, input: Option<JobStatus>) -> Self
The status of the execution step.
sourcepub fn get_status(&self) -> &Option<JobStatus>
pub fn get_status(&self) -> &Option<JobStatus>
The status of the execution step.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end date and time of the execution step.
This field is required.sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end date and time of the execution step.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end date and time of the execution step.
sourcepub fn log_url(self, input: impl Into<String>) -> Self
pub fn log_url(self, input: impl Into<String>) -> Self
The URL to the logs for the execution step.
sourcepub fn set_log_url(self, input: Option<String>) -> Self
pub fn set_log_url(self, input: Option<String>) -> Self
The URL to the logs for the execution step.
sourcepub fn get_log_url(&self) -> &Option<String>
pub fn get_log_url(&self) -> &Option<String>
The URL to the logs for the execution step.
sourcepub fn artifacts_url(self, input: impl Into<String>) -> Self
pub fn artifacts_url(self, input: impl Into<String>) -> Self
The URL to the artifact for the execution step.
sourcepub fn set_artifacts_url(self, input: Option<String>) -> Self
pub fn set_artifacts_url(self, input: Option<String>) -> Self
The URL to the artifact for the execution step.
sourcepub fn get_artifacts_url(&self) -> &Option<String>
pub fn get_artifacts_url(&self) -> &Option<String>
The URL to the artifact for the execution step.
sourcepub fn test_artifacts_url(self, input: impl Into<String>) -> Self
pub fn test_artifacts_url(self, input: impl Into<String>) -> Self
The URL to the test artifact for the execution step.
sourcepub fn set_test_artifacts_url(self, input: Option<String>) -> Self
pub fn set_test_artifacts_url(self, input: Option<String>) -> Self
The URL to the test artifact for the execution step.
sourcepub fn get_test_artifacts_url(&self) -> &Option<String>
pub fn get_test_artifacts_url(&self) -> &Option<String>
The URL to the test artifact for the execution step.
sourcepub fn test_config_url(self, input: impl Into<String>) -> Self
pub fn test_config_url(self, input: impl Into<String>) -> Self
The URL to the test configuration for the execution step.
sourcepub fn set_test_config_url(self, input: Option<String>) -> Self
pub fn set_test_config_url(self, input: Option<String>) -> Self
The URL to the test configuration for the execution step.
sourcepub fn get_test_config_url(&self) -> &Option<String>
pub fn get_test_config_url(&self) -> &Option<String>
The URL to the test configuration for the execution step.
sourcepub fn screenshots(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn screenshots(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to screenshots.
To override the contents of this collection use set_screenshots.
The list of screenshot URLs for the execution step, if relevant.
sourcepub fn set_screenshots(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_screenshots(self, input: Option<HashMap<String, String>>) -> Self
The list of screenshot URLs for the execution step, if relevant.
sourcepub fn get_screenshots(&self) -> &Option<HashMap<String, String>>
pub fn get_screenshots(&self) -> &Option<HashMap<String, String>>
The list of screenshot URLs for the execution step, if relevant.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the current step status.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason for the current step status.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The reason for the current step status.
sourcepub fn context(self, input: impl Into<String>) -> Self
pub fn context(self, input: impl Into<String>) -> Self
The context for the current step. Includes a build image if the step is build.
sourcepub fn set_context(self, input: Option<String>) -> Self
pub fn set_context(self, input: Option<String>) -> Self
The context for the current step. Includes a build image if the step is build.
sourcepub fn get_context(&self) -> &Option<String>
pub fn get_context(&self) -> &Option<String>
The context for the current step. Includes a build image if the step is build.
Trait Implementations§
source§impl Clone for StepBuilder
impl Clone for StepBuilder
source§fn clone(&self) -> StepBuilder
fn clone(&self) -> StepBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StepBuilder
impl Debug for StepBuilder
source§impl Default for StepBuilder
impl Default for StepBuilder
source§fn default() -> StepBuilder
fn default() -> StepBuilder
source§impl PartialEq for StepBuilder
impl PartialEq for StepBuilder
impl StructuralPartialEq for StepBuilder
Auto Trait Implementations§
impl Freeze for StepBuilder
impl RefUnwindSafe for StepBuilder
impl Send for StepBuilder
impl Sync for StepBuilder
impl Unpin for StepBuilder
impl UnwindSafe for StepBuilder
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