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.

AssignIpv6AddressesInput

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

type AssignIpv6AddressesInput struct { Ipv6AddressCount *int64 `locationName:"ipv6AddressCount" type:"integer"` Ipv6Addresses []*string `locationName:"ipv6Addresses" locationNameList:"item" type:"list"` NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` }

Ipv6AddressCount

Type: *int64

The number of IPv6 addresses to assign to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

Ipv6Addresses

Type: []*string

One or more specific IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.

NetworkInterfaceId

Type: *string

The ID of the network interface.

NetworkInterfaceId is a required field

Method

GoString

func (s AssignIpv6AddressesInput) GoString() string

GoString returns the string representation

SetIpv6AddressCount

func (s *AssignIpv6AddressesInput) SetIpv6AddressCount(v int64) *AssignIpv6AddressesInput

SetIpv6AddressCount sets the Ipv6AddressCount field's value.

SetIpv6Addresses

func (s *AssignIpv6AddressesInput) SetIpv6Addresses(v []*string) *AssignIpv6AddressesInput

SetIpv6Addresses sets the Ipv6Addresses field's value.

SetNetworkInterfaceId

func (s *AssignIpv6AddressesInput) SetNetworkInterfaceId(v string) *AssignIpv6AddressesInput

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

String

func (s AssignIpv6AddressesInput) String() string

String returns the string representation

Validate

func (s *AssignIpv6AddressesInput) Validate() error

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

On this page: