Struct aws_sdk_codebuild::types::builders::BuildPhaseBuilder   
source · #[non_exhaustive]pub struct BuildPhaseBuilder { /* private fields */ }Expand description
A builder for BuildPhase.
Implementations§
source§impl BuildPhaseBuilder
 
impl BuildPhaseBuilder
sourcepub fn phase_type(self, input: BuildPhaseType) -> Self
 
pub fn phase_type(self, input: BuildPhaseType) -> Self
The name of the build phase. Valid values include:
- BUILD
- 
Core build activities typically occur in this build phase. 
- COMPLETED
- 
The build has been completed. 
- DOWNLOAD_SOURCE
- 
Source code is being downloaded in this build phase. 
- FINALIZING
- 
The build process is completing in this build phase. 
- INSTALL
- 
Installation activities typically occur in this build phase. 
- POST_BUILD
- 
Post-build activities typically occur in this build phase. 
- PRE_BUILD
- 
Pre-build activities typically occur in this build phase. 
- PROVISIONING
- 
The build environment is being set up. 
- QUEUED
- 
The build has been submitted and is queued behind other submitted builds. 
- SUBMITTED
- 
The build has been submitted. 
- UPLOAD_ARTIFACTS
- 
Build output artifacts are being uploaded to the output location. 
sourcepub fn set_phase_type(self, input: Option<BuildPhaseType>) -> Self
 
pub fn set_phase_type(self, input: Option<BuildPhaseType>) -> Self
The name of the build phase. Valid values include:
- BUILD
- 
Core build activities typically occur in this build phase. 
- COMPLETED
- 
The build has been completed. 
- DOWNLOAD_SOURCE
- 
Source code is being downloaded in this build phase. 
- FINALIZING
- 
The build process is completing in this build phase. 
- INSTALL
- 
Installation activities typically occur in this build phase. 
- POST_BUILD
- 
Post-build activities typically occur in this build phase. 
- PRE_BUILD
- 
Pre-build activities typically occur in this build phase. 
- PROVISIONING
- 
The build environment is being set up. 
- QUEUED
- 
The build has been submitted and is queued behind other submitted builds. 
- SUBMITTED
- 
The build has been submitted. 
- UPLOAD_ARTIFACTS
- 
Build output artifacts are being uploaded to the output location. 
sourcepub fn get_phase_type(&self) -> &Option<BuildPhaseType>
 
pub fn get_phase_type(&self) -> &Option<BuildPhaseType>
The name of the build phase. Valid values include:
- BUILD
- 
Core build activities typically occur in this build phase. 
- COMPLETED
- 
The build has been completed. 
- DOWNLOAD_SOURCE
- 
Source code is being downloaded in this build phase. 
- FINALIZING
- 
The build process is completing in this build phase. 
- INSTALL
- 
Installation activities typically occur in this build phase. 
- POST_BUILD
- 
Post-build activities typically occur in this build phase. 
- PRE_BUILD
- 
Pre-build activities typically occur in this build phase. 
- PROVISIONING
- 
The build environment is being set up. 
- QUEUED
- 
The build has been submitted and is queued behind other submitted builds. 
- SUBMITTED
- 
The build has been submitted. 
- UPLOAD_ARTIFACTS
- 
Build output artifacts are being uploaded to the output location. 
sourcepub fn phase_status(self, input: StatusType) -> Self
 
pub fn phase_status(self, input: StatusType) -> Self
The current status of the 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 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 get_phase_status(&self) -> &Option<StatusType>
 
pub fn get_phase_status(&self) -> &Option<StatusType>
The current status of the 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 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 build phase started, expressed in Unix time format.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
 
pub fn get_start_time(&self) -> &Option<DateTime>
When the 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 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 build phase ended, expressed in Unix time format.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
 
pub fn get_end_time(&self) -> &Option<DateTime>
When the 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 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 build's phase.
sourcepub fn get_duration_in_seconds(&self) -> &Option<i64>
 
pub fn get_duration_in_seconds(&self) -> &Option<i64>
How long, in seconds, between the starting and ending times of the 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 a build phase, especially to help troubleshoot a failed build.
sourcepub fn set_contexts(self, input: Option<Vec<PhaseContext>>) -> Self
 
pub fn set_contexts(self, input: Option<Vec<PhaseContext>>) -> Self
Additional information about a build phase, especially to help troubleshoot a failed build.
sourcepub fn get_contexts(&self) -> &Option<Vec<PhaseContext>>
 
pub fn get_contexts(&self) -> &Option<Vec<PhaseContext>>
Additional information about a build phase, especially to help troubleshoot a failed build.
sourcepub fn build(self) -> BuildPhase
 
pub fn build(self) -> BuildPhase
Consumes the builder and constructs a BuildPhase.
Trait Implementations§
source§impl Clone for BuildPhaseBuilder
 
impl Clone for BuildPhaseBuilder
source§fn clone(&self) -> BuildPhaseBuilder
 
fn clone(&self) -> BuildPhaseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BuildPhaseBuilder
 
impl Debug for BuildPhaseBuilder
source§impl Default for BuildPhaseBuilder
 
impl Default for BuildPhaseBuilder
source§fn default() -> BuildPhaseBuilder
 
fn default() -> BuildPhaseBuilder
source§impl PartialEq for BuildPhaseBuilder
 
impl PartialEq for BuildPhaseBuilder
source§fn eq(&self, other: &BuildPhaseBuilder) -> bool
 
fn eq(&self, other: &BuildPhaseBuilder) -> bool
self and other values to be equal, and is used
by ==.