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



8026
8027
8028
// File 'service/s3/api.go', line 8026

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

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

SetPrefix sets the Prefix field’s value.



8031
8032
8033
8034
// File 'service/s3/api.go', line 8031

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



8017
8018
8019
// File 'service/s3/api.go', line 8017

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