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.

NetworkInterfacePermission

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

type NetworkInterfacePermission struct { AwsAccountId *string `locationName:"awsAccountId" type:"string"` AwsService *string `locationName:"awsService" type:"string"` NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` NetworkInterfacePermissionId *string `locationName:"networkInterfacePermissionId" type:"string"` Permission *string `locationName:"permission" type:"string" enum:"InterfacePermissionType"` PermissionState *NetworkInterfacePermissionState `locationName:"permissionState" type:"structure"` }

Describes a permission for a network interface.

AwsAccountId

Type: *string

The AWS account ID.

AwsService

Type: *string

The AWS service.

NetworkInterfaceId

Type: *string

The ID of the network interface.

NetworkInterfacePermissionId

Type: *string

The ID of the network interface permission.

Permission

Type: *string

The type of permission.

PermissionState

Describes the state of a network interface permission.

Method

GoString

func (s NetworkInterfacePermission) GoString() string

GoString returns the string representation

SetAwsAccountId

func (s *NetworkInterfacePermission) SetAwsAccountId(v string) *NetworkInterfacePermission

SetAwsAccountId sets the AwsAccountId field's value.

SetAwsService

func (s *NetworkInterfacePermission) SetAwsService(v string) *NetworkInterfacePermission

SetAwsService sets the AwsService field's value.

SetNetworkInterfaceId

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

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

SetNetworkInterfacePermissionId

func (s *NetworkInterfacePermission) SetNetworkInterfacePermissionId(v string) *NetworkInterfacePermission

SetNetworkInterfacePermissionId sets the NetworkInterfacePermissionId field's value.

SetPermission

func (s *NetworkInterfacePermission) SetPermission(v string) *NetworkInterfacePermission

SetPermission sets the Permission field's value.

SetPermissionState

func (s *NetworkInterfacePermission) SetPermissionState(v *NetworkInterfacePermissionState) *NetworkInterfacePermission

SetPermissionState sets the PermissionState field's value.

String

func (s NetworkInterfacePermission) String() string

String returns the string representation

On this page: