Struct aws_sdk_devicefarm::types::builders::AccountSettingsBuilder
source · #[non_exhaustive]pub struct AccountSettingsBuilder { /* private fields */ }Expand description
A builder for AccountSettings.
Implementations§
source§impl AccountSettingsBuilder
impl AccountSettingsBuilder
sourcepub fn aws_account_number(self, input: impl Into<String>) -> Self
pub fn aws_account_number(self, input: impl Into<String>) -> Self
The AWS account number specified in the AccountSettings container.
sourcepub fn set_aws_account_number(self, input: Option<String>) -> Self
pub fn set_aws_account_number(self, input: Option<String>) -> Self
The AWS account number specified in the AccountSettings container.
sourcepub fn get_aws_account_number(&self) -> &Option<String>
pub fn get_aws_account_number(&self) -> &Option<String>
The AWS account number specified in the AccountSettings container.
sourcepub fn unmetered_devices(self, k: DevicePlatform, v: i32) -> Self
pub fn unmetered_devices(self, k: DevicePlatform, v: i32) -> Self
Adds a key-value pair to unmetered_devices.
To override the contents of this collection use set_unmetered_devices.
Returns the unmetered devices you have purchased or want to purchase.
sourcepub fn set_unmetered_devices(
self,
input: Option<HashMap<DevicePlatform, i32>>
) -> Self
pub fn set_unmetered_devices( self, input: Option<HashMap<DevicePlatform, i32>> ) -> Self
Returns the unmetered devices you have purchased or want to purchase.
sourcepub fn get_unmetered_devices(&self) -> &Option<HashMap<DevicePlatform, i32>>
pub fn get_unmetered_devices(&self) -> &Option<HashMap<DevicePlatform, i32>>
Returns the unmetered devices you have purchased or want to purchase.
sourcepub fn unmetered_remote_access_devices(self, k: DevicePlatform, v: i32) -> Self
pub fn unmetered_remote_access_devices(self, k: DevicePlatform, v: i32) -> Self
Adds a key-value pair to unmetered_remote_access_devices.
To override the contents of this collection use set_unmetered_remote_access_devices.
Returns the unmetered remote access devices you have purchased or want to purchase.
sourcepub fn set_unmetered_remote_access_devices(
self,
input: Option<HashMap<DevicePlatform, i32>>
) -> Self
pub fn set_unmetered_remote_access_devices( self, input: Option<HashMap<DevicePlatform, i32>> ) -> Self
Returns the unmetered remote access devices you have purchased or want to purchase.
sourcepub fn get_unmetered_remote_access_devices(
&self
) -> &Option<HashMap<DevicePlatform, i32>>
pub fn get_unmetered_remote_access_devices( &self ) -> &Option<HashMap<DevicePlatform, i32>>
Returns the unmetered remote access devices you have purchased or want to purchase.
sourcepub fn max_job_timeout_minutes(self, input: i32) -> Self
pub fn max_job_timeout_minutes(self, input: i32) -> Self
The maximum number of minutes a test run executes before it times out.
sourcepub fn set_max_job_timeout_minutes(self, input: Option<i32>) -> Self
pub fn set_max_job_timeout_minutes(self, input: Option<i32>) -> Self
The maximum number of minutes a test run executes before it times out.
sourcepub fn get_max_job_timeout_minutes(&self) -> &Option<i32>
pub fn get_max_job_timeout_minutes(&self) -> &Option<i32>
The maximum number of minutes a test run executes before it times out.
sourcepub fn trial_minutes(self, input: TrialMinutes) -> Self
pub fn trial_minutes(self, input: TrialMinutes) -> Self
Information about an AWS account's usage of free trial device minutes.
sourcepub fn set_trial_minutes(self, input: Option<TrialMinutes>) -> Self
pub fn set_trial_minutes(self, input: Option<TrialMinutes>) -> Self
Information about an AWS account's usage of free trial device minutes.
sourcepub fn get_trial_minutes(&self) -> &Option<TrialMinutes>
pub fn get_trial_minutes(&self) -> &Option<TrialMinutes>
Information about an AWS account's usage of free trial device minutes.
sourcepub fn max_slots(self, k: impl Into<String>, v: i32) -> Self
pub fn max_slots(self, k: impl Into<String>, v: i32) -> Self
Adds a key-value pair to max_slots.
To override the contents of this collection use set_max_slots.
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number pair, where the offering-id represents one of the IDs returned by the ListOfferings command.
sourcepub fn set_max_slots(self, input: Option<HashMap<String, i32>>) -> Self
pub fn set_max_slots(self, input: Option<HashMap<String, i32>>) -> Self
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number pair, where the offering-id represents one of the IDs returned by the ListOfferings command.
sourcepub fn get_max_slots(&self) -> &Option<HashMap<String, i32>>
pub fn get_max_slots(&self) -> &Option<HashMap<String, i32>>
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number pair, where the offering-id represents one of the IDs returned by the ListOfferings command.
sourcepub fn default_job_timeout_minutes(self, input: i32) -> Self
pub fn default_job_timeout_minutes(self, input: i32) -> Self
The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.
sourcepub fn set_default_job_timeout_minutes(self, input: Option<i32>) -> Self
pub fn set_default_job_timeout_minutes(self, input: Option<i32>) -> Self
The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.
sourcepub fn get_default_job_timeout_minutes(&self) -> &Option<i32>
pub fn get_default_job_timeout_minutes(&self) -> &Option<i32>
The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.
sourcepub fn skip_app_resign(self, input: bool) -> Self
pub fn skip_app_resign(self, input: bool) -> Self
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
sourcepub fn set_skip_app_resign(self, input: Option<bool>) -> Self
pub fn set_skip_app_resign(self, input: Option<bool>) -> Self
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
sourcepub fn get_skip_app_resign(&self) -> &Option<bool>
pub fn get_skip_app_resign(&self) -> &Option<bool>
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
sourcepub fn build(self) -> AccountSettings
pub fn build(self) -> AccountSettings
Consumes the builder and constructs a AccountSettings.
Trait Implementations§
source§impl Clone for AccountSettingsBuilder
impl Clone for AccountSettingsBuilder
source§fn clone(&self) -> AccountSettingsBuilder
fn clone(&self) -> AccountSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AccountSettingsBuilder
impl Debug for AccountSettingsBuilder
source§impl Default for AccountSettingsBuilder
impl Default for AccountSettingsBuilder
source§fn default() -> AccountSettingsBuilder
fn default() -> AccountSettingsBuilder
source§impl PartialEq for AccountSettingsBuilder
impl PartialEq for AccountSettingsBuilder
source§fn eq(&self, other: &AccountSettingsBuilder) -> bool
fn eq(&self, other: &AccountSettingsBuilder) -> bool
self and other values to be equal, and is used
by ==.