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.

NetworkInterfaceAssociation

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

type NetworkInterfaceAssociation struct { AllocationId *string `locationName:"allocationId" type:"string"` AssociationId *string `locationName:"associationId" type:"string"` IpOwnerId *string `locationName:"ipOwnerId" type:"string"` PublicDnsName *string `locationName:"publicDnsName" type:"string"` PublicIp *string `locationName:"publicIp" type:"string"` }

Describes association information for an Elastic IP address (IPv4 only).

AllocationId

Type: *string

The allocation ID.

AssociationId

Type: *string

The association ID.

IpOwnerId

Type: *string

The ID of the Elastic IP address owner.

PublicDnsName

Type: *string

The public DNS name.

PublicIp

Type: *string

The address of the Elastic IP address bound to the network interface.

Method

GoString

func (s NetworkInterfaceAssociation) GoString() string

GoString returns the string representation

SetAllocationId

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

SetAllocationId sets the AllocationId field's value.

SetAssociationId

func (s *NetworkInterfaceAssociation) SetAssociationId(v string) *NetworkInterfaceAssociation

SetAssociationId sets the AssociationId field's value.

SetIpOwnerId

func (s *NetworkInterfaceAssociation) SetIpOwnerId(v string) *NetworkInterfaceAssociation

SetIpOwnerId sets the IpOwnerId field's value.

SetPublicDnsName

func (s *NetworkInterfaceAssociation) SetPublicDnsName(v string) *NetworkInterfaceAssociation

SetPublicDnsName sets the PublicDnsName field's value.

SetPublicIp

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

SetPublicIp sets the PublicIp field's value.

String

func (s NetworkInterfaceAssociation) String() string

String returns the string representation

On this page: