Struct aws_sdk_codebuild::model::build_batch_phase::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for BuildBatchPhase
Implementations
sourceimpl Builder
impl Builder
sourcepub fn phase_type(self, input: BuildBatchPhaseType) -> Self
pub fn phase_type(self, input: BuildBatchPhaseType) -> Self
The name of the batch build phase. Valid values include:
- COMBINE_ARTIFACTS
-
Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
-
The batch build specification is being downloaded.
- FAILED
-
One or more of the builds failed.
- IN_PROGRESS
-
The batch build is in progress.
- STOPPED
-
The batch build was stopped.
- SUBMITTED
-
The btach build has been submitted.
- SUCCEEDED
-
The batch build succeeded.
sourcepub fn set_phase_type(self, input: Option<BuildBatchPhaseType>) -> Self
pub fn set_phase_type(self, input: Option<BuildBatchPhaseType>) -> Self
The name of the batch build phase. Valid values include:
- COMBINE_ARTIFACTS
-
Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
-
The batch build specification is being downloaded.
- FAILED
-
One or more of the builds failed.
- IN_PROGRESS
-
The batch build is in progress.
- STOPPED
-
The batch build was stopped.
- SUBMITTED
-
The btach build has been submitted.
- SUCCEEDED
-
The batch build succeeded.
sourcepub fn phase_status(self, input: StatusType) -> Self
pub fn phase_status(self, input: StatusType) -> Self
The current status of the batch build phase. Valid values include:
- FAILED
-
The build phase failed.
- FAULT
-
The build phase faulted.
- IN_PROGRESS
-
The build phase is still in progress.
- STOPPED
-
The build phase stopped.
- SUCCEEDED
-
The build phase succeeded.
- TIMED_OUT
-
The build phase timed out.
sourcepub fn set_phase_status(self, input: Option<StatusType>) -> Self
pub fn set_phase_status(self, input: Option<StatusType>) -> Self
The current status of the batch build phase. Valid values include:
- FAILED
-
The build phase failed.
- FAULT
-
The build phase faulted.
- IN_PROGRESS
-
The build phase is still in progress.
- STOPPED
-
The build phase stopped.
- SUCCEEDED
-
The build phase succeeded.
- TIMED_OUT
-
The build phase timed out.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
When the batch build phase started, expressed in Unix time format.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
When the batch build phase started, expressed in Unix time format.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
When the batch build phase ended, expressed in Unix time format.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
When the batch build phase ended, expressed in Unix time format.
sourcepub fn duration_in_seconds(self, input: i64) -> Self
pub fn duration_in_seconds(self, input: i64) -> Self
How long, in seconds, between the starting and ending times of the batch build's phase.
sourcepub fn set_duration_in_seconds(self, input: Option<i64>) -> Self
pub fn set_duration_in_seconds(self, input: Option<i64>) -> Self
How long, in seconds, between the starting and ending times of the batch build's phase.
sourcepub fn contexts(self, input: PhaseContext) -> Self
pub fn contexts(self, input: PhaseContext) -> Self
Appends an item to contexts
.
To override the contents of this collection use set_contexts
.
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
sourcepub fn set_contexts(self, input: Option<Vec<PhaseContext>>) -> Self
pub fn set_contexts(self, input: Option<Vec<PhaseContext>>) -> Self
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
sourcepub fn build(self) -> BuildBatchPhase
pub fn build(self) -> BuildBatchPhase
Consumes the builder and constructs a BuildBatchPhase
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more