Struct: s3.ListObjectVersionsOutput

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

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

CommonPrefixes []*CommonPrefix `type:"list" flattened:"true"`

All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.

DeleteMarkers []*DeleteMarkerEntry `locationName:"DeleteMarker" type:"list" flattened:"true"`

Container for an object that is a delete marker.

Delimiter *string `type:"string"`

The delimiter grouping the included keys. A delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element in CommonPrefixes. These groups are counted as one result against the max-keys limitation. These keys are not returned elsewhere in the response.

EncodingType *string `type:"string" enum:"EncodingType"`

Encoding type used by Amazon S3 to encode object key names in the XML response.

If you specify the encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

KeyMarker, NextKeyMarker, Prefix, Key, and Delimiter.

IsTruncated *bool `type:"boolean"`

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request by using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results.

KeyMarker *string `type:"string"`

Marks the last key returned in a truncated response.

MaxKeys *int64 `type:"integer"`

Specifies the maximum number of objects to return.

Name *string `type:"string"`

The bucket name.

NextKeyMarker *string `type:"string"`

When the number of responses exceeds the value of MaxKeys, NextKeyMarker specifies the first key not returned that satisfies the search criteria. Use this value for the key-marker request parameter in a subsequent request.

NextVersionIdMarker *string `type:"string"`

When the number of responses exceeds the value of MaxKeys, NextVersionIdMarker specifies the first object version not returned that satisfies the search criteria. Use this value for the version-id-marker request parameter in a subsequent request.

Prefix *string `type:"string"`

Selects objects that start with the value supplied by this parameter.

RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

If present, indicates that the requester was successfully charged for the request.

VersionIdMarker *string `type:"string"`

Marks the last version of the key returned in a truncated response.

Versions []*ObjectVersion `locationName:"Version" type:"list" flattened:"true"`

Container for version information.

_ struct{} `type:"structure"`

Method Details

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



17066
17067
17068
// File 'service/s3/api.go', line 17066

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

func (s *ListObjectVersionsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListObjectVersionsOutput

SetCommonPrefixes sets the CommonPrefixes field’s value.



17071
17072
17073
17074
// File 'service/s3/api.go', line 17071

func (s *ListObjectVersionsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListObjectVersionsOutput { s.CommonPrefixes = v return s }

func (s *ListObjectVersionsOutput) SetDeleteMarkers(v []*DeleteMarkerEntry) *ListObjectVersionsOutput

SetDeleteMarkers sets the DeleteMarkers field’s value.



17077
17078
17079
17080
// File 'service/s3/api.go', line 17077

func (s *ListObjectVersionsOutput) SetDelimiter(v string) *ListObjectVersionsOutput

SetDelimiter sets the Delimiter field’s value.



17083
17084
17085
17086
// File 'service/s3/api.go', line 17083

func (s *ListObjectVersionsOutput) SetDelimiter(v string) *ListObjectVersionsOutput { s.Delimiter = &v return s }

func (s *ListObjectVersionsOutput) SetEncodingType(v string) *ListObjectVersionsOutput

SetEncodingType sets the EncodingType field’s value.



17089
17090
17091
17092
// File 'service/s3/api.go', line 17089

func (s *ListObjectVersionsOutput) SetEncodingType(v string) *ListObjectVersionsOutput { s.EncodingType = &v return s }

func (s *ListObjectVersionsOutput) SetIsTruncated(v bool) *ListObjectVersionsOutput

SetIsTruncated sets the IsTruncated field’s value.



17095
17096
17097
17098
// File 'service/s3/api.go', line 17095

func (s *ListObjectVersionsOutput) SetIsTruncated(v bool) *ListObjectVersionsOutput { s.IsTruncated = &v return s }

func (s *ListObjectVersionsOutput) SetKeyMarker(v string) *ListObjectVersionsOutput

SetKeyMarker sets the KeyMarker field’s value.



17101
17102
17103
17104
// File 'service/s3/api.go', line 17101

func (s *ListObjectVersionsOutput) SetKeyMarker(v string) *ListObjectVersionsOutput { s.KeyMarker = &v return s }

func (s *ListObjectVersionsOutput) SetMaxKeys(v int64) *ListObjectVersionsOutput

SetMaxKeys sets the MaxKeys field’s value.



17107
17108
17109
17110
// File 'service/s3/api.go', line 17107

func (s *ListObjectVersionsOutput) SetMaxKeys(v int64) *ListObjectVersionsOutput { s.MaxKeys = &v return s }

func (s *ListObjectVersionsOutput) SetName(v string) *ListObjectVersionsOutput

SetName sets the Name field’s value.



17113
17114
17115
17116
// File 'service/s3/api.go', line 17113

func (s *ListObjectVersionsOutput) SetName(v string) *ListObjectVersionsOutput { s.Name = &v return s }

func (s *ListObjectVersionsOutput) SetNextKeyMarker(v string) *ListObjectVersionsOutput

SetNextKeyMarker sets the NextKeyMarker field’s value.



17119
17120
17121
17122
// File 'service/s3/api.go', line 17119

func (s *ListObjectVersionsOutput) SetNextKeyMarker(v string) *ListObjectVersionsOutput { s.NextKeyMarker = &v return s }

func (s *ListObjectVersionsOutput) SetNextVersionIdMarker(v string) *ListObjectVersionsOutput

SetNextVersionIdMarker sets the NextVersionIdMarker field’s value.



17125
17126
17127
17128
// File 'service/s3/api.go', line 17125

func (s *ListObjectVersionsOutput) SetNextVersionIdMarker(v string) *ListObjectVersionsOutput { s.NextVersionIdMarker = &v return s }

func (s *ListObjectVersionsOutput) SetPrefix(v string) *ListObjectVersionsOutput

SetPrefix sets the Prefix field’s value.



17131
17132
17133
17134
// File 'service/s3/api.go', line 17131

func (s *ListObjectVersionsOutput) SetPrefix(v string) *ListObjectVersionsOutput { s.Prefix = &v return s }

func (s *ListObjectVersionsOutput) SetRequestCharged(v string) *ListObjectVersionsOutput

SetRequestCharged sets the RequestCharged field’s value.



17137
17138
17139
17140
// File 'service/s3/api.go', line 17137

func (s *ListObjectVersionsOutput) SetRequestCharged(v string) *ListObjectVersionsOutput { s.RequestCharged = &v return s }

func (s *ListObjectVersionsOutput) SetVersionIdMarker(v string) *ListObjectVersionsOutput

SetVersionIdMarker sets the VersionIdMarker field’s value.



17143
17144
17145
17146
// File 'service/s3/api.go', line 17143

func (s *ListObjectVersionsOutput) SetVersionIdMarker(v string) *ListObjectVersionsOutput { s.VersionIdMarker = &v return s }

func (s *ListObjectVersionsOutput) SetVersions(v []*ObjectVersion) *ListObjectVersionsOutput

SetVersions sets the Versions field’s value.



17149
17150
17151
17152
// File 'service/s3/api.go', line 17149

func (s *ListObjectVersionsOutput) SetVersions(v []*ObjectVersion) *ListObjectVersionsOutput { s.Versions = v return s }

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



17057
17058
17059
// File 'service/s3/api.go', line 17057

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