Struct aws_sdk_codebuild::model::BatchRestrictions
source · #[non_exhaustive]pub struct BatchRestrictions { /* private fields */ }
Expand description
Specifies restrictions for the batch build.
Implementations§
source§impl BatchRestrictions
impl BatchRestrictions
sourcepub fn maximum_builds_allowed(&self) -> Option<i32>
pub fn maximum_builds_allowed(&self) -> Option<i32>
Specifies the maximum number of builds allowed.
sourcepub fn compute_types_allowed(&self) -> Option<&[String]>
pub fn compute_types_allowed(&self) -> Option<&[String]>
An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.
source§impl BatchRestrictions
impl BatchRestrictions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchRestrictions
.
Trait Implementations§
source§impl Clone for BatchRestrictions
impl Clone for BatchRestrictions
source§fn clone(&self) -> BatchRestrictions
fn clone(&self) -> BatchRestrictions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BatchRestrictions
impl Debug for BatchRestrictions
source§impl PartialEq<BatchRestrictions> for BatchRestrictions
impl PartialEq<BatchRestrictions> for BatchRestrictions
source§fn eq(&self, other: &BatchRestrictions) -> bool
fn eq(&self, other: &BatchRestrictions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.