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.

NetworkInterface

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

type NetworkInterface struct { AttachmentId *string `locationName:"attachmentId" type:"string"` Ipv6Address *string `locationName:"ipv6Address" type:"string"` PrivateIpv4Address *string `locationName:"privateIpv4Address" type:"string"` }

An object representing the elastic network interface for tasks that use the awsvpc network mode.

AttachmentId

Type: *string

The attachment ID for the network interface.

Ipv6Address

Type: *string

The private IPv6 address for the network interface.

PrivateIpv4Address

Type: *string

The private IPv4 address for the network interface.

Method

GoString

func (s NetworkInterface) GoString() string

GoString returns the string representation

SetAttachmentId

func (s *NetworkInterface) SetAttachmentId(v string) *NetworkInterface

SetAttachmentId sets the AttachmentId field's value.

SetIpv6Address

func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface

SetIpv6Address sets the Ipv6Address field's value.

SetPrivateIpv4Address

func (s *NetworkInterface) SetPrivateIpv4Address(v string) *NetworkInterface

SetPrivateIpv4Address sets the PrivateIpv4Address field's value.

String

func (s NetworkInterface) String() string

String returns the string representation

On this page: