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.

VPC

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

type VPC struct { VPCId *string `type:"string"` VPCRegion *string `min:"1" type:"string" enum:"VPCRegion"` }

(Private hosted zones only) A complex type that contains information about an Amazon VPC.

VPCId

Type: *string

(Private hosted zones only) The ID of an Amazon VPC.

VPCRegion

Type: *string

(Private hosted zones only) The region that an Amazon VPC was created in.

Method

GoString

func (s VPC) GoString() string

GoString returns the string representation

SetVPCId

func (s *VPC) SetVPCId(v string) *VPC

SetVPCId sets the VPCId field's value.

SetVPCRegion

func (s *VPC) SetVPCRegion(v string) *VPC

SetVPCRegion sets the VPCRegion field's value.

String

func (s VPC) String() string

String returns the string representation

Validate

func (s *VPC) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: