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



18562
18563
18564
// File 'service/s3/api.go', line 18562

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

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

SetDisplayName sets the DisplayName field's value.



18567
18568
18569
18570
// File 'service/s3/api.go', line 18567

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.



18573
18574
18575
18576
// File 'service/s3/api.go', line 18573

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



18553
18554
18555
// File 'service/s3/api.go', line 18553

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