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



14380
14381
14382
// File 'service/s3/api.go', line 14380

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

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

SetTier sets the Tier field's value.



14398
14399
14400
14401
// File 'service/s3/api.go', line 14398

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



14371
14372
14373
// File 'service/s3/api.go', line 14371

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.



14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
// File 'service/s3/api.go', line 14385

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 }