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.

DeviceMethod

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

type DeviceMethod struct { DeviceType *string `locationName:"deviceType" type:"string"` MethodName *string `locationName:"methodName" type:"string"` }

DeviceType

Type: *string

The type of the device, such as "button".

MethodName

Type: *string

The name of the method applicable to the deviceType.

Method

GoString

func (s DeviceMethod) GoString() string

GoString returns the string representation

SetDeviceType

func (s *DeviceMethod) SetDeviceType(v string) *DeviceMethod

SetDeviceType sets the DeviceType field's value.

SetMethodName

func (s *DeviceMethod) SetMethodName(v string) *DeviceMethod

SetMethodName sets the MethodName field's value.

String

func (s DeviceMethod) String() string

String returns the string representation

On this page: