Interface UpdateDevicePoolRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDevicePoolRequest.Builder,,UpdateDevicePoolRequest> DeviceFarmRequest.Builder,SdkBuilder<UpdateDevicePoolRequest.Builder,,UpdateDevicePoolRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDevicePoolRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the Device Farm device pool to update.clearMaxDevices(Boolean clearMaxDevices) Sets whether themaxDevicesparameter applies to your device pool.description(String description) A description of the device pool to update.maxDevices(Integer maxDevices) The number of devices that Device Farm can add to your device pool.A string that represents the name of the device pool to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rules(Collection<Rule> rules) Represents the rules to modify for the device pool.rules(Consumer<Rule.Builder>... rules) Represents the rules to modify for the device pool.Represents the rules to modify for the device pool.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
- Parameters:
arn- The Amazon Resource Name (ARN) of the Device Farm device pool to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A string that represents the name of the device pool to update.
- Parameters:
name- A string that represents the name of the device pool to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the device pool to update.
- Parameters:
description- A description of the device pool to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
- Parameters:
rules- Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
- Parameters:
rules- Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<Rule>).- Parameters:
rules- a consumer that will call methods onRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxDevices
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and that meet the criteria that you assign for the
rulesparameter. 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.
If you use this parameter in your request, you cannot use the
clearMaxDevicesparameter in the same request.- Parameters:
maxDevices- The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and that meet the criteria that you assign for therulesparameter. 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.
If you use this parameter in your request, you cannot use the
clearMaxDevicesparameter in the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clearMaxDevices
Sets whether the
maxDevicesparameter applies to your device pool. If you set this parameter totrue, themaxDevicesparameter does not apply, and Device Farm does not limit the number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that meet the criteria specified in therulesparameter.If you use this parameter in your request, you cannot use the
maxDevicesparameter in the same request.- Parameters:
clearMaxDevices- Sets whether themaxDevicesparameter applies to your device pool. If you set this parameter totrue, themaxDevicesparameter does not apply, and Device Farm does not limit the number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that meet the criteria specified in therulesparameter.If you use this parameter in your request, you cannot use the
maxDevicesparameter in the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDevicePoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDevicePoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-