Struct: s3.DeletedObject

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

Overview

Information about the deleted object.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

DeleteMarker *bool `type:"boolean"`

Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.

DeleteMarkerVersionId *string `type:"string"`

The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

Key *string `min:"1" type:"string"`

The name of the deleted object.

VersionId *string `type:"string"`

The version ID of the deleted object.

_ struct{} `type:"structure"`

Method Details

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



11398
11399
11400
// File 'service/s3/api.go', line 11398

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

func (s *DeletedObject) SetDeleteMarker(v bool) *DeletedObject

SetDeleteMarker sets the DeleteMarker field’s value.



11403
11404
11405
11406
// File 'service/s3/api.go', line 11403

func (s *DeletedObject) SetDeleteMarker(v bool) *DeletedObject { s.DeleteMarker = &v return s }

func (s *DeletedObject) SetDeleteMarkerVersionId(v string) *DeletedObject

SetDeleteMarkerVersionId sets the DeleteMarkerVersionId field’s value.



11409
11410
11411
11412
// File 'service/s3/api.go', line 11409

func (s *DeletedObject) SetDeleteMarkerVersionId(v string) *DeletedObject { s.DeleteMarkerVersionId = &v return s }

func (s *DeletedObject) SetKey(v string) *DeletedObject

SetKey sets the Key field’s value.



11415
11416
11417
11418
// File 'service/s3/api.go', line 11415

func (s *DeletedObject) SetKey(v string) *DeletedObject { s.Key = &v return s }

func (s *DeletedObject) SetVersionId(v string) *DeletedObject

SetVersionId sets the VersionId field’s value.



11421
11422
11423
11424
// File 'service/s3/api.go', line 11421

func (s *DeletedObject) SetVersionId(v string) *DeletedObject { s.VersionId = &v return s }

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



11389
11390
11391
// File 'service/s3/api.go', line 11389

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