Struct: s3.GlacierJobParameters

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

Overview

Container for S3 Glacier job parameters.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Tier *string `type:"string" required:"true" enum:"Tier"`

Retrieval tier at which the restore will be processed.

Tier is a required field

_ struct{} `type:"structure"`

Method Details

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



14531
14532
14533
// File 'service/s3/api.go', line 14531

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

func (s *GlacierJobParameters) SetTier(v string) *GlacierJobParameters

SetTier sets the Tier field’s value.



14549
14550
14551
14552
// File 'service/s3/api.go', line 14549

func (s *GlacierJobParameters) SetTier(v string) *GlacierJobParameters { s.Tier = &v return s }

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



14522
14523
14524
// File 'service/s3/api.go', line 14522

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

func (s *GlacierJobParameters) Validate() error

Validate inspects the fields of the type to determine if they are valid.



14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
// File 'service/s3/api.go', line 14536

func (s *GlacierJobParameters) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GlacierJobParameters"} if s.Tier == nil { invalidParams.Add(request.NewErrParamRequired("Tier")) } if invalidParams.Len() > 0 { return invalidParams } return nil }