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”.



15561
15562
15563
// File 'service/s3/api.go', line 15561

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

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

SetDisplayName sets the DisplayName field’s value.



15566
15567
15568
15569
// File 'service/s3/api.go', line 15566

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.



15572
15573
15574
15575
// File 'service/s3/api.go', line 15572

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”.



15552
15553
15554
// File 'service/s3/api.go', line 15552

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