Struct: s3.Part
Overview
Container for elements related to a part.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ETag *string
Entity tag returned when the part was uploaded.
-
LastModified *time.Time
Date and time at which the part was uploaded.
-
PartNumber *int64
Part number identifying the part.
-
Size *int64
Size in bytes of the uploaded part data.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetETag(string) *Part
operation
SetETag sets the ETag field's value.
-
SetLastModified(time.Time) *Part
operation
SetLastModified sets the LastModified field's value.
-
SetPartNumber(int64) *Part
operation
SetPartNumber sets the PartNumber field's value.
-
SetSize(int64) *Part
operation
SetSize sets the Size field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
ETag *string
`type:"string"`
Entity tag returned when the part was uploaded.
LastModified *time.Time
`type:"timestamp"`
Date and time at which the part was uploaded.
PartNumber *int64
`type:"integer"`
Part number identifying the part. This is a positive integer between 1 and 10,000.
Size *int64
`type:"integer"`
Size in bytes of the uploaded part data.
_ struct{}
`type:"structure"`
Method Details
func (s Part) 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”.
18373 18374 18375 |
// File 'service/s3/api.go', line 18373
|
func (s *Part) SetETag(v string) *Part
SetETag sets the ETag field's value.
18378 18379 18380 18381 |
// File 'service/s3/api.go', line 18378
|
func (s *Part) SetLastModified(v time.Time) *Part
SetLastModified sets the LastModified field's value.
18384 18385 18386 18387 |
// File 'service/s3/api.go', line 18384
|
func (s *Part) SetPartNumber(v int64) *Part
SetPartNumber sets the PartNumber field's value.
18390 18391 18392 18393 |
// File 'service/s3/api.go', line 18390
|
func (s *Part) SetSize(v int64) *Part
SetSize sets the Size field's value.
18396 18397 18398 18399 |
// File 'service/s3/api.go', line 18396
|
func (s Part) 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”.
18364 18365 18366 |
// File 'service/s3/api.go', line 18364
|