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.

DeviceInstance

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

type DeviceInstance struct { Arn *string `locationName:"arn" min:"32" type:"string"` DeviceArn *string `locationName:"deviceArn" min:"32" type:"string"` InstanceProfile *InstanceProfile `locationName:"instanceProfile" type:"structure"` Labels []*string `locationName:"labels" type:"list"` Status *string `locationName:"status" type:"string" enum:"InstanceStatus"` Udid *string `locationName:"udid" type:"string"` }

Represents the device instance.

Arn

Type: *string

The Amazon Resource Name (ARN) of the device instance.

DeviceArn

Type: *string

The Amazon Resource Name (ARN) of the device.

InstanceProfile

Represents the instance profile.

Labels

Type: []*string

An array of strings describing the device instance.

Status

Type: *string

The status of the device instance. Valid values are listed below.

Udid

Type: *string

Unique device identifier for the device instance.

Method

GoString

func (s DeviceInstance) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetDeviceArn

func (s *DeviceInstance) SetDeviceArn(v string) *DeviceInstance

SetDeviceArn sets the DeviceArn field's value.

SetInstanceProfile

func (s *DeviceInstance) SetInstanceProfile(v *InstanceProfile) *DeviceInstance

SetInstanceProfile sets the InstanceProfile field's value.

SetLabels

func (s *DeviceInstance) SetLabels(v []*string) *DeviceInstance

SetLabels sets the Labels field's value.

SetStatus

func (s *DeviceInstance) SetStatus(v string) *DeviceInstance

SetStatus sets the Status field's value.

SetUdid

func (s *DeviceInstance) SetUdid(v string) *DeviceInstance

SetUdid sets the Udid field's value.

String

func (s DeviceInstance) String() string

String returns the string representation

On this page: