#[non_exhaustive]pub struct CreateDevicePoolInput {
pub project_arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub rules: Option<Vec<Rule>>,
pub max_devices: Option<i32>,
}Expand description
Represents a request to the create device pool operation.
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.project_arn: Option<String>The ARN of the project for the device pool.
name: Option<String>The device pool's name.
description: Option<String>The device pool's description.
rules: Option<Vec<Rule>>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 CreateDevicePoolInput
impl CreateDevicePoolInput
sourcepub fn project_arn(&self) -> Option<&str>
pub fn project_arn(&self) -> Option<&str>
The ARN of the project for the device pool.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The device pool's description.
sourcepub fn rules(&self) -> &[Rule]
pub fn rules(&self) -> &[Rule]
The device pool's rules.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none().
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 CreateDevicePoolInput
impl CreateDevicePoolInput
sourcepub fn builder() -> CreateDevicePoolInputBuilder
pub fn builder() -> CreateDevicePoolInputBuilder
Creates a new builder-style object to manufacture CreateDevicePoolInput.
Trait Implementations§
source§impl Clone for CreateDevicePoolInput
impl Clone for CreateDevicePoolInput
source§fn clone(&self) -> CreateDevicePoolInput
fn clone(&self) -> CreateDevicePoolInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDevicePoolInput
impl Debug for CreateDevicePoolInput
source§impl PartialEq for CreateDevicePoolInput
impl PartialEq for CreateDevicePoolInput
source§fn eq(&self, other: &CreateDevicePoolInput) -> bool
fn eq(&self, other: &CreateDevicePoolInput) -> bool
self and other values to be equal, and is used
by ==.