Struct aws_sdk_devicefarm::types::InstanceProfile
source · #[non_exhaustive]pub struct InstanceProfile {
pub arn: Option<String>,
pub package_cleanup: Option<bool>,
pub exclude_app_packages_from_cleanup: Option<Vec<String>>,
pub reboot_after_use: Option<bool>,
pub name: Option<String>,
pub description: Option<String>,
}
Expand description
Represents the instance profile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) of the instance profile.
package_cleanup: Option<bool>
When set to true
, Device Farm removes app packages after a test run. The default value is false
for private devices.
exclude_app_packages_from_cleanup: Option<Vec<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
.
reboot_after_use: Option<bool>
When set to true
, Device Farm reboots the instance after a test run. The default value is true
.
name: Option<String>
The name of the instance profile.
description: Option<String>
The description of 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() -> InstanceProfileBuilder
pub fn builder() -> InstanceProfileBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.