Struct: s3.DeletedObject
Overview
Information about the deleted object.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
DeleteMarker *bool
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion.
-
DeleteMarkerVersionId *string
The version ID of the delete marker created as a result of the DELETE operation.
-
Key *string
The name of the deleted object.
-
VersionId *string
The version ID of the deleted object.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetDeleteMarker(bool) *DeletedObject
operation
SetDeleteMarker sets the DeleteMarker field's value.
-
SetDeleteMarkerVersionId(string) *DeletedObject
operation
SetDeleteMarkerVersionId sets the DeleteMarkerVersionId field's value.
-
SetKey(string) *DeletedObject
operation
SetKey sets the Key field's value.
-
SetVersionId(string) *DeletedObject
operation
SetVersionId sets the VersionId field's value.
-
String() string
operation
String returns the string representation.
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) 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) 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) 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) 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) 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
|