Class CfnDevicePoolPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devicefarm.CfnDevicePoolPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDevicePoolPropsMixin>
- Enclosing class:
CfnDevicePoolPropsMixin
@Stability(Stable)
public static final class CfnDevicePoolPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDevicePoolPropsMixin>
A fluent builder for
CfnDevicePoolPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The device pool's description.maxDevices(Number maxDevices) The number of devices that Device Farm can add to your device pool.The device pool's name.projectArn(String projectArn) The ARN of the project for the device pool.The device pool's rules.rules(IResolvable rules) The device pool's rules.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnDevicePoolPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDevicePoolPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDevicePoolPropsMixin.Builder.
-
description
The device pool's description.- Parameters:
description- The device pool's description. This parameter is required.- Returns:
this- See Also:
-
maxDevices
The number of devices that Device Farm can add to your device pool.Device Farm adds devices that are available and 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.
- Parameters:
maxDevices- The number of devices that Device Farm can add to your device pool. This parameter is required.- Returns:
this- See Also:
-
name
The device pool's name.- Parameters:
name- The device pool's name. This parameter is required.- Returns:
this- See Also:
-
projectArn
The ARN of the project for the device pool.- Parameters:
projectArn- The ARN of the project for the device pool. This parameter is required.- Returns:
this- See Also:
-
rules
The device pool's rules.- Parameters:
rules- The device pool's rules. This parameter is required.- Returns:
this- See Also:
-
rules
The device pool's rules.- Parameters:
rules- The device pool's rules. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag in the guide .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDevicePoolPropsMixin>- Returns:
- a newly built instance of
CfnDevicePoolPropsMixin.
-