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.

Grantee

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

type Grantee struct { DisplayName *string `type:"string"` EmailAddress *string `type:"string"` ID *string `type:"string"` Type *string `type:"string" required:"true" enum:"Type"` URI *string `type:"string"` }

Contains information about the grantee.

DisplayName

Type: *string

Screen name of the grantee.

EmailAddress

Type: *string

Email address of the grantee.

ID

Type: *string

The canonical user ID of the grantee.

Type

Type: *string

Type of grantee

Type is a required field

URI

Type: *string

URI of the grantee group.

Method

GoString

func (s Grantee) GoString() string

GoString returns the string representation

SetDisplayName

func (s *Grantee) SetDisplayName(v string) *Grantee

SetDisplayName sets the DisplayName field's value.

SetEmailAddress

func (s *Grantee) SetEmailAddress(v string) *Grantee

SetEmailAddress sets the EmailAddress field's value.

SetID

func (s *Grantee) SetID(v string) *Grantee

SetID sets the ID field's value.

SetType

func (s *Grantee) SetType(v string) *Grantee

SetType sets the Type field's value.

SetURI

func (s *Grantee) SetURI(v string) *Grantee

SetURI sets the URI field's value.

String

func (s Grantee) String() string

String returns the string representation

Validate

func (s *Grantee) Validate() error

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

On this page: