Struct aws_sdk_devicefarm::operation::create_device_pool::builders::CreateDevicePoolFluentBuilder
source · pub struct CreateDevicePoolFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDevicePool.
Creates a device pool.
Implementations§
source§impl CreateDevicePoolFluentBuilder
impl CreateDevicePoolFluentBuilder
sourcepub fn as_input(&self) -> &CreateDevicePoolInputBuilder
pub fn as_input(&self) -> &CreateDevicePoolInputBuilder
Access the CreateDevicePool as a reference.
sourcepub async fn send(
self
) -> Result<CreateDevicePoolOutput, SdkError<CreateDevicePoolError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDevicePoolOutput, SdkError<CreateDevicePoolError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateDevicePoolOutput, CreateDevicePoolError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDevicePoolOutput, CreateDevicePoolError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
The ARN of the project for the device pool.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
The ARN of the project for the device pool.
sourcepub fn get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
The ARN of the project for the device pool.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The device pool's description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The device pool's description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The device pool's description.
sourcepub fn rules(self, input: Rule) -> Self
pub fn rules(self, input: Rule) -> Self
Appends an item to rules.
To override the contents of this collection use set_rules.
The device pool's rules.
sourcepub fn max_devices(self, input: i32) -> Self
pub fn max_devices(self, input: i32) -> Self
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.
sourcepub fn set_max_devices(self, input: Option<i32>) -> Self
pub fn set_max_devices(self, input: Option<i32>) -> Self
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.
sourcepub fn get_max_devices(&self) -> &Option<i32>
pub fn get_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.
Trait Implementations§
source§impl Clone for CreateDevicePoolFluentBuilder
impl Clone for CreateDevicePoolFluentBuilder
source§fn clone(&self) -> CreateDevicePoolFluentBuilder
fn clone(&self) -> CreateDevicePoolFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more