Struct: s3.DeleteMarkerEntry

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

Overview

Information about the delete marker.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

IsLatest *bool `type:"boolean"`

Specifies whether the object is (true) or is not (false) the latest version of an object.

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

The object key.

LastModified *time.Time `type:"timestamp"`

Date and time the object was last modified.

Owner *Owner `type:"structure"`

The account that created the delete marker.>

VersionId *string `type:"string"`

Version ID of an object.

_ struct{} `type:"structure"`

Method Details

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



10505
10506
10507
// File 'service/s3/api.go', line 10505

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

func (s *DeleteMarkerEntry) SetIsLatest(v bool) *DeleteMarkerEntry

SetIsLatest sets the IsLatest field's value.



10510
10511
10512
10513
// File 'service/s3/api.go', line 10510

func (s *DeleteMarkerEntry) SetIsLatest(v bool) *DeleteMarkerEntry { s.IsLatest = &v return s }

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

SetKey sets the Key field's value.



10516
10517
10518
10519
// File 'service/s3/api.go', line 10516

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

func (s *DeleteMarkerEntry) SetLastModified(v time.Time) *DeleteMarkerEntry

SetLastModified sets the LastModified field's value.



10522
10523
10524
10525
// File 'service/s3/api.go', line 10522

func (s *DeleteMarkerEntry) SetLastModified(v time.Time) *DeleteMarkerEntry { s.LastModified = &v return s }

func (s *DeleteMarkerEntry) SetOwner(v *Owner) *DeleteMarkerEntry

SetOwner sets the Owner field's value.



10528
10529
10530
10531
// File 'service/s3/api.go', line 10528

func (s *DeleteMarkerEntry) SetOwner(v *Owner) *DeleteMarkerEntry { s.Owner = v return s }

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

SetVersionId sets the VersionId field's value.



10534
10535
10536
10537
// File 'service/s3/api.go', line 10534

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

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



10496
10497
10498
// File 'service/s3/api.go', line 10496

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