Interface AccountSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountSettings.Builder,
,AccountSettings> SdkBuilder<AccountSettings.Builder,
,AccountSettings> SdkPojo
- Enclosing class:
AccountSettings
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountNumber
(String awsAccountNumber) The AWS account number specified in theAccountSettings
container.defaultJobTimeoutMinutes
(Integer defaultJobTimeoutMinutes) The default number of minutes (at the account level) a test run executes before it times out.maxJobTimeoutMinutes
(Integer maxJobTimeoutMinutes) The maximum number of minutes a test run executes before it times out.The maximum number of device slots that the AWS account can purchase.skipAppResign
(Boolean skipAppResign) When set totrue
, for private devices, Device Farm does not sign your app again.default AccountSettings.Builder
trialMinutes
(Consumer<TrialMinutes.Builder> trialMinutes) Information about an AWS account's usage of free trial device minutes.trialMinutes
(TrialMinutes trialMinutes) Information about an AWS account's usage of free trial device minutes.unmeteredDevices
(Map<DevicePlatform, Integer> unmeteredDevices) Returns the unmetered devices you have purchased or want to purchase.unmeteredDevicesWithStrings
(Map<String, Integer> unmeteredDevices) Returns the unmetered devices you have purchased or want to purchase.unmeteredRemoteAccessDevices
(Map<DevicePlatform, Integer> unmeteredRemoteAccessDevices) Returns the unmetered remote access devices you have purchased or want to purchase.unmeteredRemoteAccessDevicesWithStrings
(Map<String, Integer> unmeteredRemoteAccessDevices) Returns the unmetered remote access devices you have purchased or want to purchase.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsAccountNumber
The AWS account number specified in the
AccountSettings
container.- Parameters:
awsAccountNumber
- The AWS account number specified in theAccountSettings
container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unmeteredDevicesWithStrings
Returns the unmetered devices you have purchased or want to purchase.
- Parameters:
unmeteredDevices
- Returns the unmetered devices you have purchased or want to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unmeteredDevices
Returns the unmetered devices you have purchased or want to purchase.
- Parameters:
unmeteredDevices
- Returns the unmetered devices you have purchased or want to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unmeteredRemoteAccessDevicesWithStrings
AccountSettings.Builder unmeteredRemoteAccessDevicesWithStrings(Map<String, Integer> unmeteredRemoteAccessDevices) Returns the unmetered remote access devices you have purchased or want to purchase.
- Parameters:
unmeteredRemoteAccessDevices
- Returns the unmetered remote access devices you have purchased or want to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unmeteredRemoteAccessDevices
AccountSettings.Builder unmeteredRemoteAccessDevices(Map<DevicePlatform, Integer> unmeteredRemoteAccessDevices) Returns the unmetered remote access devices you have purchased or want to purchase.
- Parameters:
unmeteredRemoteAccessDevices
- Returns the unmetered remote access devices you have purchased or want to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxJobTimeoutMinutes
The maximum number of minutes a test run executes before it times out.
- Parameters:
maxJobTimeoutMinutes
- The maximum number of minutes a test run executes before it times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialMinutes
Information about an AWS account's usage of free trial device minutes.
- Parameters:
trialMinutes
- Information about an AWS account's usage of free trial device minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialMinutes
Information about an AWS account's usage of free trial device minutes.
This is a convenience method that creates an instance of theTrialMinutes.Builder
avoiding the need to create one manually viaTrialMinutes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrialMinutes(TrialMinutes)
.- Parameters:
trialMinutes
- a consumer that will call methods onTrialMinutes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxSlots
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an
offering-id:number
pair, where theoffering-id
represents one of the IDs returned by theListOfferings
command.- Parameters:
maxSlots
- The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as anoffering-id:number
pair, where theoffering-id
represents one of the IDs returned by theListOfferings
command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultJobTimeoutMinutes
The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.
- Parameters:
defaultJobTimeoutMinutes
- The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skipAppResign
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.
- Parameters:
skipAppResign
- When set totrue
, 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-