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.

AllocateAddressOutput

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

type AllocateAddressOutput struct { AllocationId *string `locationName:"allocationId" type:"string"` Domain *string `locationName:"domain" type:"string" enum:"DomainType"` PublicIp *string `locationName:"publicIp" type:"string"` PublicIpv4Pool *string `locationName:"publicIpv4Pool" type:"string"` }

AllocationId

Type: *string

[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

Domain

Type: *string

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

PublicIp

Type: *string

The Elastic IP address.

PublicIpv4Pool

Type: *string

The ID of an address pool.

Method

GoString

func (s AllocateAddressOutput) GoString() string

GoString returns the string representation

SetAllocationId

func (s *AllocateAddressOutput) SetAllocationId(v string) *AllocateAddressOutput

SetAllocationId sets the AllocationId field's value.

SetDomain

func (s *AllocateAddressOutput) SetDomain(v string) *AllocateAddressOutput

SetDomain sets the Domain field's value.

SetPublicIp

func (s *AllocateAddressOutput) SetPublicIp(v string) *AllocateAddressOutput

SetPublicIp sets the PublicIp field's value.

SetPublicIpv4Pool

func (s *AllocateAddressOutput) SetPublicIpv4Pool(v string) *AllocateAddressOutput

SetPublicIpv4Pool sets the PublicIpv4Pool field's value.

String

func (s AllocateAddressOutput) String() string

String returns the string representation

On this page: