Struct aws_sdk_devicefarm::model::InstanceProfile
source · #[non_exhaustive]pub struct InstanceProfile { /* private fields */ }Expand description
Represents the instance profile.
Implementations§
source§impl InstanceProfile
impl InstanceProfile
sourcepub fn package_cleanup(&self) -> Option<bool>
pub fn package_cleanup(&self) -> Option<bool>
When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.
sourcepub fn exclude_app_packages_from_cleanup(&self) -> Option<&[String]>
pub fn exclude_app_packages_from_cleanup(&self) -> Option<&[String]>
An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.
The list of packages is considered only if you set packageCleanup to true.
sourcepub fn reboot_after_use(&self) -> Option<bool>
pub fn reboot_after_use(&self) -> Option<bool>
When set to true, Device Farm reboots the instance after a test run. The default value is true.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the instance profile.
source§impl InstanceProfile
impl InstanceProfile
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceProfile.
Trait Implementations§
source§impl Clone for InstanceProfile
impl Clone for InstanceProfile
source§fn clone(&self) -> InstanceProfile
fn clone(&self) -> InstanceProfile
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 InstanceProfile
impl Debug for InstanceProfile
source§impl PartialEq<InstanceProfile> for InstanceProfile
impl PartialEq<InstanceProfile> for InstanceProfile
source§fn eq(&self, other: &InstanceProfile) -> bool
fn eq(&self, other: &InstanceProfile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.