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.

Subnet

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

type Subnet struct { SubnetAvailabilityZone *AvailabilityZone `type:"structure"` SubnetIdentifier *string `type:"string"` }

Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with ElastiCache.

SubnetAvailabilityZone

Describes an Availability Zone in which the cluster is launched.

SubnetIdentifier

Type: *string

The unique identifier for the subnet.

Method

GoString

func (s Subnet) GoString() string

GoString returns the string representation

SetSubnetAvailabilityZone

func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet

SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.

SetSubnetIdentifier

func (s *Subnet) SetSubnetIdentifier(v string) *Subnet

SetSubnetIdentifier sets the SubnetIdentifier field's value.

String

func (s Subnet) String() string

String returns the string representation

On this page: