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.

DevicePool

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

type DevicePool struct { Arn *string `locationName:"arn" min:"32" type:"string"` Description *string `locationName:"description" type:"string"` MaxDevices *int64 `locationName:"maxDevices" type:"integer"` Name *string `locationName:"name" type:"string"` Rules []*Rule `locationName:"rules" type:"list"` Type *string `locationName:"type" type:"string" enum:"DevicePoolType"` }

Represents a collection of device types.

Arn

Type: *string

The device pool's ARN.

Description

Type: *string

The device pool's description.

MaxDevices

Type: *int64

The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and that meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.

By specifying the maximum number of devices, you can control the costs that you incur by running tests.

Name

Type: *string

The device pool's name.

Rules

Represents a condition for a device pool.

Type

Type: *string

The device pool's type.

Allowed values include:

  • CURATED: A device pool that is created and managed by AWS Device Farm.

  • PRIVATE: A device pool that is created and managed by the device pool developer.

Method

GoString

func (s DevicePool) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetMaxDevices

func (s *DevicePool) SetMaxDevices(v int64) *DevicePool

SetMaxDevices sets the MaxDevices field's value.

SetName

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

SetName sets the Name field's value.

SetRules

func (s *DevicePool) SetRules(v []*Rule) *DevicePool

SetRules sets the Rules field's value.

SetType

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

SetType sets the Type field's value.

String

func (s DevicePool) String() string

String returns the string representation

On this page: