#[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 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 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
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 Default for ImageTestsConfigurationBuilder
impl Default for ImageTestsConfigurationBuilder
source§fn default() -> ImageTestsConfigurationBuilder
fn default() -> ImageTestsConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ImageTestsConfigurationBuilder> for ImageTestsConfigurationBuilder
impl PartialEq<ImageTestsConfigurationBuilder> for ImageTestsConfigurationBuilder
source§fn eq(&self, other: &ImageTestsConfigurationBuilder) -> bool
fn eq(&self, other: &ImageTestsConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.