Struct: s3.CommonPrefix

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

Overview

Container for all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Prefix *string `type:"string"`

Container for the specified common prefix.

_ struct{} `type:"structure"`

Method Details

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



7875
7876
7877
// File 'service/s3/api.go', line 7875

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

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

SetPrefix sets the Prefix field's value.



7880
7881
7882
7883
// File 'service/s3/api.go', line 7880

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

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



7866
7867
7868
// File 'service/s3/api.go', line 7866

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