Struct aws_sdk_codebuild::model::build_group::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for BuildGroup
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
Contains the identifier of the build group.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
Contains the identifier of the build group.
sourcepub fn depends_on(self, input: impl Into<String>) -> Self
pub fn depends_on(self, input: impl Into<String>) -> Self
Appends an item to depends_on
.
To override the contents of this collection use set_depends_on
.
An array of strings that contain the identifiers of the build groups that this build group depends on.
sourcepub fn set_depends_on(self, input: Option<Vec<String>>) -> Self
pub fn set_depends_on(self, input: Option<Vec<String>>) -> Self
An array of strings that contain the identifiers of the build groups that this build group depends on.
sourcepub fn ignore_failure(self, input: bool) -> Self
pub fn ignore_failure(self, input: bool) -> Self
Specifies if failures in this build group can be ignored.
sourcepub fn set_ignore_failure(self, input: Option<bool>) -> Self
pub fn set_ignore_failure(self, input: Option<bool>) -> Self
Specifies if failures in this build group can be ignored.
sourcepub fn current_build_summary(self, input: BuildSummary) -> Self
pub fn current_build_summary(self, input: BuildSummary) -> Self
A BuildSummary
object that contains a summary of the current build group.
sourcepub fn set_current_build_summary(self, input: Option<BuildSummary>) -> Self
pub fn set_current_build_summary(self, input: Option<BuildSummary>) -> Self
A BuildSummary
object that contains a summary of the current build group.
sourcepub fn prior_build_summary_list(self, input: BuildSummary) -> Self
pub fn prior_build_summary_list(self, input: BuildSummary) -> Self
Appends an item to prior_build_summary_list
.
To override the contents of this collection use set_prior_build_summary_list
.
An array of BuildSummary
objects that contain summaries of previous build groups.
sourcepub fn set_prior_build_summary_list(
self,
input: Option<Vec<BuildSummary>>
) -> Self
pub fn set_prior_build_summary_list(
self,
input: Option<Vec<BuildSummary>>
) -> Self
An array of BuildSummary
objects that contain summaries of previous build groups.
sourcepub fn build(self) -> BuildGroup
pub fn build(self) -> BuildGroup
Consumes the builder and constructs a BuildGroup
.