Class CfnNetworkProfile.Builder
java.lang.Object
software.amazon.awscdk.services.devicefarm.CfnNetworkProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkProfile>
- Enclosing class:
CfnNetworkProfile
@Stability(Stable)
public static final class CfnNetworkProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkProfile>
A fluent builder for
CfnNetworkProfile.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnNetworkProfile.Builderdescription(String description) The description of the network profile.downlinkBandwidthBits(Number downlinkBandwidthBits) The data throughput rate in bits per second, as an integer from 0 to 104857600.downlinkDelayMs(Number downlinkDelayMs) Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.downlinkJitterMs(Number downlinkJitterMs) Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.downlinkLossPercent(Number downlinkLossPercent) Proportion of received packets that fail to arrive from 0 to 100 percent.The name of the network profile.projectArn(String projectArn) The Amazon Resource Name (ARN) of the specified project.An array of key-value pairs to apply to this resource.uplinkBandwidthBits(Number uplinkBandwidthBits) The data throughput rate in bits per second, as an integer from 0 to 104857600.uplinkDelayMs(Number uplinkDelayMs) Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.uplinkJitterMs(Number uplinkJitterMs) Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.uplinkLossPercent(Number uplinkLossPercent) Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
-
Method Details
-
create
@Stability(Stable) public static CfnNetworkProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnNetworkProfile.Builder.
-
name
The name of the network profile.- Parameters:
name- The name of the network profile. This parameter is required.- Returns:
this- See Also:
-
projectArn
The Amazon Resource Name (ARN) of the specified project.- Parameters:
projectArn- The Amazon Resource Name (ARN) of the specified project. This parameter is required.- Returns:
this- See Also:
-
description
The description of the network profile.- Parameters:
description- The description of the network profile. This parameter is required.- Returns:
this- See Also:
-
downlinkBandwidthBits
@Stability(Stable) public CfnNetworkProfile.Builder downlinkBandwidthBits(Number downlinkBandwidthBits) The data throughput rate in bits per second, as an integer from 0 to 104857600.- Parameters:
downlinkBandwidthBits- The data throughput rate in bits per second, as an integer from 0 to 104857600. This parameter is required.- Returns:
this- See Also:
-
downlinkDelayMs
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.- Parameters:
downlinkDelayMs- Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. This parameter is required.- Returns:
this- See Also:
-
downlinkJitterMs
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.- Parameters:
downlinkJitterMs- Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. This parameter is required.- Returns:
this- See Also:
-
downlinkLossPercent
Proportion of received packets that fail to arrive from 0 to 100 percent.- Parameters:
downlinkLossPercent- Proportion of received packets that fail to arrive from 0 to 100 percent. 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:
-
uplinkBandwidthBits
The data throughput rate in bits per second, as an integer from 0 to 104857600.- Parameters:
uplinkBandwidthBits- The data throughput rate in bits per second, as an integer from 0 to 104857600. This parameter is required.- Returns:
this- See Also:
-
uplinkDelayMs
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.- Parameters:
uplinkDelayMs- Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. This parameter is required.- Returns:
this- See Also:
-
uplinkJitterMs
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.- Parameters:
uplinkJitterMs- Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. This parameter is required.- Returns:
this- See Also:
-
uplinkLossPercent
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.- Parameters:
uplinkLossPercent- Proportion of transmitted packets that fail to arrive from 0 to 100 percent. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkProfile>- Returns:
- a newly built instance of
CfnNetworkProfile.
-