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) -> &[String]
pub fn exclude_app_packages_from_cleanup(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .exclude_app_packages_from_cleanup.is_none().
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 for InstanceProfile
impl PartialEq 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 ==.impl StructuralPartialEq for InstanceProfile
Auto Trait Implementations§
impl Freeze for InstanceProfile
impl RefUnwindSafe for InstanceProfile
impl Send for InstanceProfile
impl Sync for InstanceProfile
impl Unpin for InstanceProfile
impl UnwindSafe for InstanceProfile
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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