Struct aws_sdk_codebuild::types::ProjectBuildBatchConfig
source · #[non_exhaustive]pub struct ProjectBuildBatchConfig {
pub service_role: Option<String>,
pub combine_artifacts: Option<bool>,
pub restrictions: Option<BatchRestrictions>,
pub timeout_in_mins: Option<i32>,
pub batch_report_mode: Option<BatchReportModeType>,
}
Expand description
Contains configuration information about a batch build project.
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.service_role: Option<String>
Specifies the service role ARN for the batch build project.
combine_artifacts: Option<bool>
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
restrictions: Option<BatchRestrictions>
A BatchRestrictions
object that specifies the restrictions for the batch build.
timeout_in_mins: Option<i32>
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
batch_report_mode: Option<BatchReportModeType>
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
Implementations§
source§impl ProjectBuildBatchConfig
impl ProjectBuildBatchConfig
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
Specifies the service role ARN for the batch build project.
sourcepub fn combine_artifacts(&self) -> Option<bool>
pub fn combine_artifacts(&self) -> Option<bool>
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
sourcepub fn restrictions(&self) -> Option<&BatchRestrictions>
pub fn restrictions(&self) -> Option<&BatchRestrictions>
A BatchRestrictions
object that specifies the restrictions for the batch build.
sourcepub fn timeout_in_mins(&self) -> Option<i32>
pub fn timeout_in_mins(&self) -> Option<i32>
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
sourcepub fn batch_report_mode(&self) -> Option<&BatchReportModeType>
pub fn batch_report_mode(&self) -> Option<&BatchReportModeType>
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
- REPORT_AGGREGATED_BATCH
-
(Default) Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
-
Send a separate status report for each individual build.
source§impl ProjectBuildBatchConfig
impl ProjectBuildBatchConfig
sourcepub fn builder() -> ProjectBuildBatchConfigBuilder
pub fn builder() -> ProjectBuildBatchConfigBuilder
Creates a new builder-style object to manufacture ProjectBuildBatchConfig
.
Trait Implementations§
source§impl Clone for ProjectBuildBatchConfig
impl Clone for ProjectBuildBatchConfig
source§fn clone(&self) -> ProjectBuildBatchConfig
fn clone(&self) -> ProjectBuildBatchConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProjectBuildBatchConfig
impl Debug for ProjectBuildBatchConfig
source§impl PartialEq for ProjectBuildBatchConfig
impl PartialEq for ProjectBuildBatchConfig
source§fn eq(&self, other: &ProjectBuildBatchConfig) -> bool
fn eq(&self, other: &ProjectBuildBatchConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProjectBuildBatchConfig
Auto Trait Implementations§
impl Freeze for ProjectBuildBatchConfig
impl RefUnwindSafe for ProjectBuildBatchConfig
impl Send for ProjectBuildBatchConfig
impl Sync for ProjectBuildBatchConfig
impl Unpin for ProjectBuildBatchConfig
impl UnwindSafe for ProjectBuildBatchConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more