#[non_exhaustive]pub struct CreateInstanceProfileInput {
pub name: Option<String>,
pub description: Option<String>,
pub package_cleanup: Option<bool>,
pub exclude_app_packages_from_cleanup: Option<Vec<String>>,
pub reboot_after_use: Option<bool>,
}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.name: Option<String>The name of your instance profile.
description: Option<String>The description of your 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 that specifies the list of app packages that should not be cleaned up from the device after a test run.
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.
Implementations§
source§impl CreateInstanceProfileInput
impl CreateInstanceProfileInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of your instance profile.
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 that specifies the list of app packages that should not be cleaned up from the device after a test run.
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.
source§impl CreateInstanceProfileInput
impl CreateInstanceProfileInput
sourcepub fn builder() -> CreateInstanceProfileInputBuilder
pub fn builder() -> CreateInstanceProfileInputBuilder
Creates a new builder-style object to manufacture CreateInstanceProfileInput.
Trait Implementations§
source§impl Clone for CreateInstanceProfileInput
impl Clone for CreateInstanceProfileInput
source§fn clone(&self) -> CreateInstanceProfileInput
fn clone(&self) -> CreateInstanceProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateInstanceProfileInput
impl Debug for CreateInstanceProfileInput
source§impl PartialEq for CreateInstanceProfileInput
impl PartialEq for CreateInstanceProfileInput
source§fn eq(&self, other: &CreateInstanceProfileInput) -> bool
fn eq(&self, other: &CreateInstanceProfileInput) -> bool
self and other values to be equal, and is used
by ==.