Struct aws_sdk_codebuild::model::BuildBatchPhase
source · [−]#[non_exhaustive]pub struct BuildBatchPhase { /* private fields */ }
Expand description
Contains information about a stage for a batch build.
Implementations
sourceimpl BuildBatchPhase
impl BuildBatchPhase
sourcepub fn phase_type(&self) -> Option<&BuildBatchPhaseType>
pub fn phase_type(&self) -> Option<&BuildBatchPhaseType>
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) -> Option<&StatusType>
pub fn phase_status(&self) -> Option<&StatusType>
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) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
When the batch build phase started, expressed in Unix time format.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
When the batch build phase ended, expressed in Unix time format.
sourcepub fn duration_in_seconds(&self) -> Option<i64>
pub fn duration_in_seconds(&self) -> Option<i64>
How long, in seconds, between the starting and ending times of the batch build's phase.
sourcepub fn contexts(&self) -> Option<&[PhaseContext]>
pub fn contexts(&self) -> Option<&[PhaseContext]>
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
sourceimpl BuildBatchPhase
impl BuildBatchPhase
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BuildBatchPhase
.
Trait Implementations
sourceimpl Clone for BuildBatchPhase
impl Clone for BuildBatchPhase
sourcefn clone(&self) -> BuildBatchPhase
fn clone(&self) -> BuildBatchPhase
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuildBatchPhase
impl Debug for BuildBatchPhase
sourceimpl PartialEq<BuildBatchPhase> for BuildBatchPhase
impl PartialEq<BuildBatchPhase> for BuildBatchPhase
sourcefn eq(&self, other: &BuildBatchPhase) -> bool
fn eq(&self, other: &BuildBatchPhase) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for BuildBatchPhase
Auto Trait Implementations
impl RefUnwindSafe for BuildBatchPhase
impl Send for BuildBatchPhase
impl Sync for BuildBatchPhase
impl Unpin for BuildBatchPhase
impl UnwindSafe for BuildBatchPhase
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