Interface UpdateDevicePoolRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDevicePoolRequest.Builder,UpdateDevicePoolRequest>,DeviceFarmRequest.Builder,SdkBuilder<UpdateDevicePoolRequest.Builder,UpdateDevicePoolRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDevicePoolRequest
public static interface UpdateDevicePoolRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<UpdateDevicePoolRequest.Builder,UpdateDevicePoolRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateDevicePoolRequest.Builderarn(String arn)The Amazon Resource Name (ARN) of the Device Farm device pool to update.UpdateDevicePoolRequest.BuilderclearMaxDevices(Boolean clearMaxDevices)Sets whether themaxDevicesparameter applies to your device pool.UpdateDevicePoolRequest.Builderdescription(String description)A description of the device pool to update.UpdateDevicePoolRequest.BuildermaxDevices(Integer maxDevices)The number of devices that Device Farm can add to your device pool.UpdateDevicePoolRequest.Buildername(String name)A string that represents the name of the device pool to update.UpdateDevicePoolRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDevicePoolRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDevicePoolRequest.Builderrules(Collection<Rule> rules)Represents the rules to modify for the device pool.UpdateDevicePoolRequest.Builderrules(Consumer<Rule.Builder>... rules)Represents the rules to modify for the device pool.UpdateDevicePoolRequest.Builderrules(Rule... rules)Represents the rules to modify for the device pool.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
UpdateDevicePoolRequest.Builder arn(String 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
UpdateDevicePoolRequest.Builder name(String 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
UpdateDevicePoolRequest.Builder description(String 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
UpdateDevicePoolRequest.Builder rules(Collection<Rule> 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
UpdateDevicePoolRequest.Builder rules(Rule... 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
UpdateDevicePoolRequest.Builder rules(Consumer<Rule.Builder>... 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 to#rules(List.) - 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:
#rules(java.util.Collection)
-
maxDevices
UpdateDevicePoolRequest.Builder maxDevices(Integer 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
UpdateDevicePoolRequest.Builder clearMaxDevices(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDevicePoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-