Struct aws_sdk_codebuild::types::BuildGroup
source · #[non_exhaustive]pub struct BuildGroup {
pub identifier: Option<String>,
pub depends_on: Option<Vec<String>>,
pub ignore_failure: bool,
pub current_build_summary: Option<BuildSummary>,
pub prior_build_summary_list: Option<Vec<BuildSummary>>,
}
Expand description
Contains information about a batch build build group. Build groups are used to combine builds that can run in parallel, while still being able to set dependencies on other build groups.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.identifier: Option<String>
Contains the identifier of the build group.
depends_on: Option<Vec<String>>
An array of strings that contain the identifiers of the build groups that this build group depends on.
ignore_failure: bool
Specifies if failures in this build group can be ignored.
current_build_summary: Option<BuildSummary>
A BuildSummary
object that contains a summary of the current build group.
prior_build_summary_list: Option<Vec<BuildSummary>>
An array of BuildSummary
objects that contain summaries of previous build groups.
Implementations§
source§impl BuildGroup
impl BuildGroup
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
Contains the identifier of the build group.
sourcepub fn depends_on(&self) -> &[String]
pub fn depends_on(&self) -> &[String]
An array of strings that contain the identifiers of the build groups that this build group depends on.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .depends_on.is_none()
.
sourcepub fn ignore_failure(&self) -> bool
pub fn ignore_failure(&self) -> bool
Specifies if failures in this build group can be ignored.
sourcepub fn current_build_summary(&self) -> Option<&BuildSummary>
pub fn current_build_summary(&self) -> Option<&BuildSummary>
A BuildSummary
object that contains a summary of the current build group.
sourcepub fn prior_build_summary_list(&self) -> &[BuildSummary]
pub fn prior_build_summary_list(&self) -> &[BuildSummary]
An array of BuildSummary
objects that contain summaries of previous build groups.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .prior_build_summary_list.is_none()
.
source§impl BuildGroup
impl BuildGroup
sourcepub fn builder() -> BuildGroupBuilder
pub fn builder() -> BuildGroupBuilder
Creates a new builder-style object to manufacture BuildGroup
.
Trait Implementations§
source§impl Clone for BuildGroup
impl Clone for BuildGroup
source§fn clone(&self) -> BuildGroup
fn clone(&self) -> BuildGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuildGroup
impl Debug for BuildGroup
source§impl PartialEq for BuildGroup
impl PartialEq for BuildGroup
source§fn eq(&self, other: &BuildGroup) -> bool
fn eq(&self, other: &BuildGroup) -> bool
self
and other
values to be equal, and is used
by ==
.