Struct: s3.Owner

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

Overview

Container for the owner's display name and ID.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

DisplayName *string `type:"string"`

Container for the display name of the owner.

ID *string `type:"string"`

Container for the ID of the owner.

_ struct{} `type:"structure"`

Method Details

func (s Owner) 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”.



18325
18326
18327
// File 'service/s3/api.go', line 18325

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

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

SetDisplayName sets the DisplayName field's value.



18330
18331
18332
18333
// File 'service/s3/api.go', line 18330

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

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

SetID sets the ID field's value.



18336
18337
18338
18339
// File 'service/s3/api.go', line 18336

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

func (s Owner) 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”.



18316
18317
18318
// File 'service/s3/api.go', line 18316

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