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.

UpdateAcceleratorInput

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

type UpdateAcceleratorInput struct { AcceleratorArn *string `type:"string" required:"true"` Enabled *bool `type:"boolean"` IpAddressType *string `type:"string" enum:"IpAddressType"` Name *string `type:"string"` }

AcceleratorArn

Type: *string

The Amazon Resource Name (ARN) of the accelerator to update.

AcceleratorArn is a required field

Enabled

Type: *bool

Indicates whether an accelerator 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, the accelerator can be deleted.

IpAddressType

Type: *string

The value for the address type must be IPv4.

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.

Method

GoString

func (s UpdateAcceleratorInput) GoString() string

GoString returns the string representation

SetAcceleratorArn

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

SetAcceleratorArn sets the AcceleratorArn field's value.

SetEnabled

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

SetEnabled sets the Enabled field's value.

SetIpAddressType

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

SetIpAddressType sets the IpAddressType field's value.

SetName

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

SetName sets the Name field's value.

String

func (s UpdateAcceleratorInput) String() string

String returns the string representation

Validate

func (s *UpdateAcceleratorInput) Validate() error

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

On this page: