AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

NetworkProfile

import "github.com/aws/aws-sdk-go/service/devicefarm"

type NetworkProfile struct { Arn *string `locationName:"arn" min:"32" type:"string"` Description *string `locationName:"description" type:"string"` DownlinkBandwidthBits *int64 `locationName:"downlinkBandwidthBits" type:"long"` DownlinkDelayMs *int64 `locationName:"downlinkDelayMs" type:"long"` DownlinkJitterMs *int64 `locationName:"downlinkJitterMs" type:"long"` DownlinkLossPercent *int64 `locationName:"downlinkLossPercent" type:"integer"` Name *string `locationName:"name" type:"string"` Type *string `locationName:"type" type:"string" enum:"NetworkProfileType"` UplinkBandwidthBits *int64 `locationName:"uplinkBandwidthBits" type:"long"` UplinkDelayMs *int64 `locationName:"uplinkDelayMs" type:"long"` UplinkJitterMs *int64 `locationName:"uplinkJitterMs" type:"long"` UplinkLossPercent *int64 `locationName:"uplinkLossPercent" type:"integer"` }

An array of settings that describes characteristics of a network profile.

Arn

Type: *string

The Amazon Resource Name (ARN) of the network profile.

Description

Type: *string

The description of the network profile.

DownlinkBandwidthBits

Type: *int64

The data throughput rate in bits per second, as an integer from 0 to 104857600.

DownlinkDelayMs

Type: *int64

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

DownlinkJitterMs

Type: *int64

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

DownlinkLossPercent

Type: *int64

Proportion of received packets that fail to arrive from 0 to 100 percent.

Name

Type: *string

The name of the network profile.

Type

Type: *string

The type of network profile. Valid values are listed below.

UplinkBandwidthBits

Type: *int64

The data throughput rate in bits per second, as an integer from 0 to 104857600.

UplinkDelayMs

Type: *int64

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

UplinkJitterMs

Type: *int64

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

UplinkLossPercent

Type: *int64

Proportion of transmitted packets that fail to arrive from 0 to 100 percent.

Method

GoString

func (s NetworkProfile) GoString() string

GoString returns the string representation

SetArn

func (s *NetworkProfile) SetArn(v string) *NetworkProfile

SetArn sets the Arn field's value.

SetDescription

func (s *NetworkProfile) SetDescription(v string) *NetworkProfile

SetDescription sets the Description field's value.

SetDownlinkBandwidthBits

func (s *NetworkProfile) SetDownlinkBandwidthBits(v int64) *NetworkProfile

SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value.

SetDownlinkDelayMs

func (s *NetworkProfile) SetDownlinkDelayMs(v int64) *NetworkProfile

SetDownlinkDelayMs sets the DownlinkDelayMs field's value.

SetDownlinkJitterMs

func (s *NetworkProfile) SetDownlinkJitterMs(v int64) *NetworkProfile

SetDownlinkJitterMs sets the DownlinkJitterMs field's value.

SetDownlinkLossPercent

func (s *NetworkProfile) SetDownlinkLossPercent(v int64) *NetworkProfile

SetDownlinkLossPercent sets the DownlinkLossPercent field's value.

SetName

func (s *NetworkProfile) SetName(v string) *NetworkProfile

SetName sets the Name field's value.

SetType

func (s *NetworkProfile) SetType(v string) *NetworkProfile

SetType sets the Type field's value.

SetUplinkBandwidthBits

func (s *NetworkProfile) SetUplinkBandwidthBits(v int64) *NetworkProfile

SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value.

SetUplinkDelayMs

func (s *NetworkProfile) SetUplinkDelayMs(v int64) *NetworkProfile

SetUplinkDelayMs sets the UplinkDelayMs field's value.

SetUplinkJitterMs

func (s *NetworkProfile) SetUplinkJitterMs(v int64) *NetworkProfile

SetUplinkJitterMs sets the UplinkJitterMs field's value.

SetUplinkLossPercent

func (s *NetworkProfile) SetUplinkLossPercent(v int64) *NetworkProfile

SetUplinkLossPercent sets the UplinkLossPercent field's value.

String

func (s NetworkProfile) String() string

String returns the string representation

On this page: