Struct aws_sdk_devicefarm::model::account_settings::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for AccountSettings.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 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 build(self) -> AccountSettings
pub fn build(self) -> AccountSettings
Consumes the builder and constructs a AccountSettings.