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.

IpSet

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

type IpSet struct { IpAddresses []*string `type:"list"` IpFamily *string `type:"string"` }

A complex type for the set of IP addresses for an accelerator.

IpAddresses

Type: []*string

The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.

IpFamily

Type: *string

The types of IP addresses included in this IP set.

Method

GoString

func (s IpSet) GoString() string

GoString returns the string representation

SetIpAddresses

func (s *IpSet) SetIpAddresses(v []*string) *IpSet

SetIpAddresses sets the IpAddresses field's value.

SetIpFamily

func (s *IpSet) SetIpFamily(v string) *IpSet

SetIpFamily sets the IpFamily field's value.

String

func (s IpSet) String() string

String returns the string representation

On this page: