Class CfnNetworkProfile

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:05.255Z") @Stability(Stable) public class CfnNetworkProfile extends CfnResource implements IInspectable, ITaggable
Creates a network profile.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.devicefarm.*;
 CfnNetworkProfile cfnNetworkProfile = CfnNetworkProfile.Builder.create(this, "MyCfnNetworkProfile")
         .name("name")
         .projectArn("projectArn")
         // the properties below are optional
         .description("description")
         .downlinkBandwidthBits(123)
         .downlinkDelayMs(123)
         .downlinkJitterMs(123)
         .downlinkLossPercent(123)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .uplinkBandwidthBits(123)
         .uplinkDelayMs(123)
         .uplinkJitterMs(123)
         .uplinkLossPercent(123)
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnNetworkProfile

      protected CfnNetworkProfile(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnNetworkProfile

      protected CfnNetworkProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnNetworkProfile

      @Stability(Stable) public CfnNetworkProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNetworkProfileProps props)
      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.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the network profile.

      See Amazon resource names in the General Reference guide .

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the network profile.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the network profile.
    • getProjectArn

      @Stability(Stable) @NotNull public String getProjectArn()
      The Amazon Resource Name (ARN) of the specified project.
    • setProjectArn

      @Stability(Stable) public void setProjectArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the specified project.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the network profile.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the network profile.
    • getDownlinkBandwidthBits

      @Stability(Stable) @Nullable public Number getDownlinkBandwidthBits()
      The data throughput rate in bits per second, as an integer from 0 to 104857600.
    • setDownlinkBandwidthBits

      @Stability(Stable) public void setDownlinkBandwidthBits(@Nullable Number value)
      The data throughput rate in bits per second, as an integer from 0 to 104857600.
    • getDownlinkDelayMs

      @Stability(Stable) @Nullable public Number getDownlinkDelayMs()
      Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
    • setDownlinkDelayMs

      @Stability(Stable) public void setDownlinkDelayMs(@Nullable Number value)
      Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
    • getDownlinkJitterMs

      @Stability(Stable) @Nullable public Number getDownlinkJitterMs()
      Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
    • setDownlinkJitterMs

      @Stability(Stable) public void setDownlinkJitterMs(@Nullable Number value)
      Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
    • getDownlinkLossPercent

      @Stability(Stable) @Nullable public Number getDownlinkLossPercent()
      Proportion of received packets that fail to arrive from 0 to 100 percent.
    • setDownlinkLossPercent

      @Stability(Stable) public void setDownlinkLossPercent(@Nullable Number value)
      Proportion of received packets that fail to arrive from 0 to 100 percent.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      An array of key-value pairs to apply to this resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.
    • getUplinkBandwidthBits

      @Stability(Stable) @Nullable public Number getUplinkBandwidthBits()
      The data throughput rate in bits per second, as an integer from 0 to 104857600.
    • setUplinkBandwidthBits

      @Stability(Stable) public void setUplinkBandwidthBits(@Nullable Number value)
      The data throughput rate in bits per second, as an integer from 0 to 104857600.
    • getUplinkDelayMs

      @Stability(Stable) @Nullable public Number getUplinkDelayMs()
      Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
    • setUplinkDelayMs

      @Stability(Stable) public void setUplinkDelayMs(@Nullable Number value)
      Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
    • getUplinkJitterMs

      @Stability(Stable) @Nullable public Number getUplinkJitterMs()
      Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
    • setUplinkJitterMs

      @Stability(Stable) public void setUplinkJitterMs(@Nullable Number value)
      Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
    • getUplinkLossPercent

      @Stability(Stable) @Nullable public Number getUplinkLossPercent()
      Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
    • setUplinkLossPercent

      @Stability(Stable) public void setUplinkLossPercent(@Nullable Number value)
      Proportion of transmitted packets that fail to arrive from 0 to 100 percent.