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.

GroupIdentifier

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

type GroupIdentifier struct { GroupId *string `locationName:"groupId" type:"string"` GroupName *string `locationName:"groupName" type:"string"` }

Describes a security group.

GroupId

Type: *string

The ID of the security group.

GroupName

Type: *string

The name of the security group.

Method

GoString

func (s GroupIdentifier) GoString() string

GoString returns the string representation

SetGroupId

func (s *GroupIdentifier) SetGroupId(v string) *GroupIdentifier

SetGroupId sets the GroupId field's value.

SetGroupName

func (s *GroupIdentifier) SetGroupName(v string) *GroupIdentifier

SetGroupName sets the GroupName field's value.

String

func (s GroupIdentifier) String() string

String returns the string representation

On this page: