Struct: s3.GetBucketCorsOutput

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

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

CORSRules []*CORSRule `locationName:"CORSRule" type:"list" flattened:"true"`

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

_ struct{} `type:"structure"`

Method Details

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



12140
12141
12142
// File 'service/s3/api.go', line 12140

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

func (s *GetBucketCorsOutput) SetCORSRules(v []*CORSRule) *GetBucketCorsOutput

SetCORSRules sets the CORSRules field's value.



12145
12146
12147
12148
// File 'service/s3/api.go', line 12145

func (s *GetBucketCorsOutput) SetCORSRules(v []*CORSRule) *GetBucketCorsOutput { s.CORSRules = v return s }

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



12131
12132
12133
// File 'service/s3/api.go', line 12131

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