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.

GatewayInfo

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

type GatewayInfo struct { GatewayARN *string `min:"50" type:"string"` GatewayId *string `min:"12" type:"string"` GatewayName *string `type:"string"` GatewayOperationalState *string `min:"2" type:"string"` GatewayType *string `min:"2" type:"string"` }

Describes a gateway object.

GatewayARN

Type: *string

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

GatewayId

Type: *string

The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

GatewayName

Type: *string

The name of the gateway.

GatewayOperationalState

Type: *string

The state of the gateway.

Valid Values: DISABLED or ACTIVE

GatewayType

Type: *string

The type of the gateway.

Method

GoString

func (s GatewayInfo) GoString() string

GoString returns the string representation

SetGatewayARN

func (s *GatewayInfo) SetGatewayARN(v string) *GatewayInfo

SetGatewayARN sets the GatewayARN field's value.

SetGatewayId

func (s *GatewayInfo) SetGatewayId(v string) *GatewayInfo

SetGatewayId sets the GatewayId field's value.

SetGatewayName

func (s *GatewayInfo) SetGatewayName(v string) *GatewayInfo

SetGatewayName sets the GatewayName field's value.

SetGatewayOperationalState

func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo

SetGatewayOperationalState sets the GatewayOperationalState field's value.

SetGatewayType

func (s *GatewayInfo) SetGatewayType(v string) *GatewayInfo

SetGatewayType sets the GatewayType field's value.

String

func (s GatewayInfo) String() string

String returns the string representation

On this page: