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



19014
19015
19016
// File 'service/s3/api.go', line 19014

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

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

SetDisplayName sets the DisplayName field’s value.



19019
19020
19021
19022
// File 'service/s3/api.go', line 19019

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.



19025
19026
19027
19028
// File 'service/s3/api.go', line 19025

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



19005
19006
19007
// File 'service/s3/api.go', line 19005

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