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



10656
10657
10658
// File 'service/s3/api.go', line 10656

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

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

SetIsLatest sets the IsLatest field’s value.



10661
10662
10663
10664
// File 'service/s3/api.go', line 10661

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.



10667
10668
10669
10670
// File 'service/s3/api.go', line 10667

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.



10673
10674
10675
10676
// File 'service/s3/api.go', line 10673

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.



10679
10680
10681
10682
// File 'service/s3/api.go', line 10679

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.



10685
10686
10687
10688
// File 'service/s3/api.go', line 10685

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



10647
10648
10649
// File 'service/s3/api.go', line 10647

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