Struct aws_sdk_codebuild::types::builders::BuildBatchPhaseBuilder
source · #[non_exhaustive]pub struct BuildBatchPhaseBuilder { /* private fields */ }
Expand description
A builder for BuildBatchPhase
.
Implementations§
source§impl BuildBatchPhaseBuilder
impl BuildBatchPhaseBuilder
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 get_phase_type(&self) -> &Option<BuildBatchPhaseType>
pub fn get_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, 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 get_phase_status(&self) -> &Option<StatusType>
pub fn get_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, 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 get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
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 get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
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 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 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 get_contexts(&self) -> &Option<Vec<PhaseContext>>
pub fn get_contexts(&self) -> &Option<Vec<PhaseContext>>
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§
source§impl Clone for BuildBatchPhaseBuilder
impl Clone for BuildBatchPhaseBuilder
source§fn clone(&self) -> BuildBatchPhaseBuilder
fn clone(&self) -> BuildBatchPhaseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuildBatchPhaseBuilder
impl Debug for BuildBatchPhaseBuilder
source§impl Default for BuildBatchPhaseBuilder
impl Default for BuildBatchPhaseBuilder
source§fn default() -> BuildBatchPhaseBuilder
fn default() -> BuildBatchPhaseBuilder
source§impl PartialEq for BuildBatchPhaseBuilder
impl PartialEq for BuildBatchPhaseBuilder
source§fn eq(&self, other: &BuildBatchPhaseBuilder) -> bool
fn eq(&self, other: &BuildBatchPhaseBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.