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.

CreateNetworkProfileInput

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

type CreateNetworkProfileInput struct { 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" required:"true"` ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"` 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"` }

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 you wish to specify for the new network profile.

Name is a required field

ProjectArn

Type: *string

The Amazon Resource Name (ARN) of the project for which you want to create a network profile.

ProjectArn is a required field

Type

Type: *string

The type of network profile you wish to create. 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 CreateNetworkProfileInput) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetDownlinkBandwidthBits

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

SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value.

SetDownlinkDelayMs

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

SetDownlinkDelayMs sets the DownlinkDelayMs field's value.

SetDownlinkJitterMs

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

SetDownlinkJitterMs sets the DownlinkJitterMs field's value.

SetDownlinkLossPercent

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

SetDownlinkLossPercent sets the DownlinkLossPercent field's value.

SetName

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

SetName sets the Name field's value.

SetProjectArn

func (s *CreateNetworkProfileInput) SetProjectArn(v string) *CreateNetworkProfileInput

SetProjectArn sets the ProjectArn field's value.

SetType

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

SetType sets the Type field's value.

SetUplinkBandwidthBits

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

SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value.

SetUplinkDelayMs

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

SetUplinkDelayMs sets the UplinkDelayMs field's value.

SetUplinkJitterMs

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

SetUplinkJitterMs sets the UplinkJitterMs field's value.

SetUplinkLossPercent

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

SetUplinkLossPercent sets the UplinkLossPercent field's value.

String

func (s CreateNetworkProfileInput) String() string

String returns the string representation

Validate

func (s *CreateNetworkProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: