#[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 ==.