Struct aws_sdk_devicefarm::types::DevicePool
source · #[non_exhaustive]pub struct DevicePool {
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub type: Option<DevicePoolType>,
pub rules: Option<Vec<Rule>>,
pub max_devices: Option<i32>,
}
Expand description
Represents a collection of device types.
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 device pool's ARN.
name: Option<String>
The device pool's name.
description: Option<String>
The device pool's description.
type: Option<DevicePoolType>
The device pool's type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
rules: Option<Vec<Rule>>
Information about the device pool's rules.
max_devices: Option<i32>
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules
parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.
By specifying the maximum number of devices, you can control the costs that you incur by running tests.
Implementations§
source§impl DevicePool
impl DevicePool
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The device pool's description.
sourcepub fn type(&self) -> Option<&DevicePoolType>
pub fn type(&self) -> Option<&DevicePoolType>
The device pool's type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
sourcepub fn max_devices(&self) -> Option<i32>
pub fn max_devices(&self) -> Option<i32>
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules
parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.
By specifying the maximum number of devices, you can control the costs that you incur by running tests.
source§impl DevicePool
impl DevicePool
sourcepub fn builder() -> DevicePoolBuilder
pub fn builder() -> DevicePoolBuilder
Creates a new builder-style object to manufacture DevicePool
.
Trait Implementations§
source§impl Clone for DevicePool
impl Clone for DevicePool
source§fn clone(&self) -> DevicePool
fn clone(&self) -> DevicePool
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DevicePool
impl Debug for DevicePool
source§impl PartialEq<DevicePool> for DevicePool
impl PartialEq<DevicePool> for DevicePool
source§fn eq(&self, other: &DevicePool) -> bool
fn eq(&self, other: &DevicePool) -> bool
self
and other
values to be equal, and is used
by ==
.