#[non_exhaustive]pub struct ImageTestsConfigurationBuilder { /* private fields */ }
Expand description
A builder for ImageTestsConfiguration
.
Implementations§
source§impl ImageTestsConfigurationBuilder
impl ImageTestsConfigurationBuilder
sourcepub fn image_tests_enabled(self, input: bool) -> Self
pub fn image_tests_enabled(self, input: bool) -> Self
Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
sourcepub fn set_image_tests_enabled(self, input: Option<bool>) -> Self
pub fn set_image_tests_enabled(self, input: Option<bool>) -> Self
Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
sourcepub fn get_image_tests_enabled(&self) -> &Option<bool>
pub fn get_image_tests_enabled(&self) -> &Option<bool>
Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
sourcepub fn timeout_minutes(self, input: i32) -> Self
pub fn timeout_minutes(self, input: i32) -> Self
The maximum time in minutes that tests are permitted to run.
The timeoutMinutes attribute is not currently active. This value is ignored.
sourcepub fn set_timeout_minutes(self, input: Option<i32>) -> Self
pub fn set_timeout_minutes(self, input: Option<i32>) -> Self
The maximum time in minutes that tests are permitted to run.
The timeoutMinutes attribute is not currently active. This value is ignored.
sourcepub fn get_timeout_minutes(&self) -> &Option<i32>
pub fn get_timeout_minutes(&self) -> &Option<i32>
The maximum time in minutes that tests are permitted to run.
The timeoutMinutes attribute is not currently active. This value is ignored.
sourcepub fn build(self) -> ImageTestsConfiguration
pub fn build(self) -> ImageTestsConfiguration
Consumes the builder and constructs a ImageTestsConfiguration
.
Trait Implementations§
source§impl Clone for ImageTestsConfigurationBuilder
impl Clone for ImageTestsConfigurationBuilder
source§fn clone(&self) -> ImageTestsConfigurationBuilder
fn clone(&self) -> ImageTestsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ImageTestsConfigurationBuilder
impl Default for ImageTestsConfigurationBuilder
source§fn default() -> ImageTestsConfigurationBuilder
fn default() -> ImageTestsConfigurationBuilder
source§impl PartialEq for ImageTestsConfigurationBuilder
impl PartialEq for ImageTestsConfigurationBuilder
source§fn eq(&self, other: &ImageTestsConfigurationBuilder) -> bool
fn eq(&self, other: &ImageTestsConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageTestsConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ImageTestsConfigurationBuilder
impl RefUnwindSafe for ImageTestsConfigurationBuilder
impl Send for ImageTestsConfigurationBuilder
impl Sync for ImageTestsConfigurationBuilder
impl Unpin for ImageTestsConfigurationBuilder
impl UnwindSafe for ImageTestsConfigurationBuilder
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