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.

AvailabilityZone

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

type AvailabilityZone struct { State *string `locationName:"state" type:"string"` ZoneName *string `locationName:"zoneName" type:"string"` }

Describes an Availability Zone.

State

Type: *string

The state of the Availability Zone.

ZoneName

Type: *string

The name of the Availability Zone. The format is us-east-2a (case-sensitive).

Method

GoString

func (s AvailabilityZone) GoString() string

GoString returns the string representation

SetState

func (s *AvailabilityZone) SetState(v string) *AvailabilityZone

SetState sets the State field's value.

SetZoneName

func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone

SetZoneName sets the ZoneName field's value.

String

func (s AvailabilityZone) String() string

String returns the string representation

On this page: