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



11247
11248
11249
// File 'service/s3/api.go', line 11247

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

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

SetDeleteMarker sets the DeleteMarker field's value.



11252
11253
11254
11255
// File 'service/s3/api.go', line 11252

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.



11258
11259
11260
11261
// File 'service/s3/api.go', line 11258

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.



11264
11265
11266
11267
// File 'service/s3/api.go', line 11264

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.



11270
11271
11272
11273
// File 'service/s3/api.go', line 11270

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



11238
11239
11240
// File 'service/s3/api.go', line 11238

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