Struct: s3.Initiator

import "../ibm-cos-sdk-go/service/s3"

Overview

Container element that identifies who initiated the multipart upload.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

DisplayName *string `type:"string"`

Name of the Principal.

ID *string `type:"string"`

If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.

_ struct{} `type:"structure"`

Method Details

func (s Initiator) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



15410
15411
15412
// File 'service/s3/api.go', line 15410

func (s Initiator) GoString() string { return s.String() }

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

SetDisplayName sets the DisplayName field's value.



15415
15416
15417
15418
// File 'service/s3/api.go', line 15415

func (s *Initiator) SetDisplayName(v string) *Initiator { s.DisplayName = &v return s }

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

SetID sets the ID field's value.



15421
15422
15423
15424
// File 'service/s3/api.go', line 15421

func (s *Initiator) SetID(v string) *Initiator { s.ID = &v return s }

func (s Initiator) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



15401
15402
15403
// File 'service/s3/api.go', line 15401

func (s Initiator) String() string { return awsutil.Prettify(s) }