Struct: s3.CompletedPart

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

Overview

Details of the parts that were uploaded.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

ETag *string `type:"string"`

Entity tag returned when the part was uploaded.

PartNumber *int64 `type:"integer"`

Part number that identifies the part. This is a positive integer between 1 and 10,000.

_ struct{} `type:"structure"`

Method Details

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



8239
8240
8241
// File 'service/s3/api.go', line 8239

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

func (s *CompletedPart) SetETag(v string) *CompletedPart

SetETag sets the ETag field's value.



8244
8245
8246
8247
// File 'service/s3/api.go', line 8244

func (s *CompletedPart) SetETag(v string) *CompletedPart { s.ETag = &v return s }

func (s *CompletedPart) SetPartNumber(v int64) *CompletedPart

SetPartNumber sets the PartNumber field's value.



8250
8251
8252
8253
// File 'service/s3/api.go', line 8250

func (s *CompletedPart) SetPartNumber(v int64) *CompletedPart { s.PartNumber = &v return s }

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



8230
8231
8232
// File 'service/s3/api.go', line 8230

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