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.

Accelerator

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

type Accelerator struct { AcceleratorArn *string `type:"string"` CreatedTime *time.Time `type:"timestamp"` Enabled *bool `type:"boolean"` IpAddressType *string `type:"string" enum:"IpAddressType"` IpSets []*IpSet `type:"list"` LastModifiedTime *time.Time `type:"timestamp"` Name *string `type:"string"` Status *string `type:"string" enum:"AcceleratorStatus"` }

An accelerator is a complex type that includes one or more listeners that process inbound connections and then direct traffic to one or more endpoint groups, each of which includes endpoints, such as load balancers.

AcceleratorArn

Type: *string

The Amazon Resource Name (ARN) of the accelerator.

CreatedTime

Type: *time.Time

The date and time that the accelerator was created.

Enabled

Type: *bool

Indicates whether theaccelerator is enabled. The value is true or false. The default value is true.

If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.

IpAddressType

Type: *string

The value for the address type must be IPv4.

IpSets

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

LastModifiedTime

Type: *time.Time

The date and time that the accelerator was last modified.

Name

Type: *string

The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

Status

Type: *string

Describes the deployment status of the accelerator.

Method

GoString

func (s Accelerator) GoString() string

GoString returns the string representation

SetAcceleratorArn

func (s *Accelerator) SetAcceleratorArn(v string) *Accelerator

SetAcceleratorArn sets the AcceleratorArn field's value.

SetCreatedTime

func (s *Accelerator) SetCreatedTime(v time.Time) *Accelerator

SetCreatedTime sets the CreatedTime field's value.

SetEnabled

func (s *Accelerator) SetEnabled(v bool) *Accelerator

SetEnabled sets the Enabled field's value.

SetIpAddressType

func (s *Accelerator) SetIpAddressType(v string) *Accelerator

SetIpAddressType sets the IpAddressType field's value.

SetIpSets

func (s *Accelerator) SetIpSets(v []*IpSet) *Accelerator

SetIpSets sets the IpSets field's value.

SetLastModifiedTime

func (s *Accelerator) SetLastModifiedTime(v time.Time) *Accelerator

SetLastModifiedTime sets the LastModifiedTime field's value.

SetName

func (s *Accelerator) SetName(v string) *Accelerator

SetName sets the Name field's value.

SetStatus

func (s *Accelerator) SetStatus(v string) *Accelerator

SetStatus sets the Status field's value.

String

func (s Accelerator) String() string

String returns the string representation

On this page: