Struct: s3.GetBucketWebsiteOutput

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

ErrorDocument *ErrorDocument `type:"structure"`

The object key name of the website error document to use for 4XX class errors.

IndexDocument *IndexDocument `type:"structure"`

The name of the index document for the website (for example index.html).

RedirectAllRequestsTo *RedirectAllRequestsTo `type:"structure"`

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

RoutingRules []*RoutingRule `locationNameList:"RoutingRule" type:"list"`

Rules that define when a redirect is applied and the redirect behavior.

_ struct{} `type:"structure"`

Method Details

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



12845
12846
12847
// File 'service/s3/api.go', line 12845

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

func (s *GetBucketWebsiteOutput) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteOutput

SetErrorDocument sets the ErrorDocument field's value.



12850
12851
12852
12853
// File 'service/s3/api.go', line 12850

func (s *GetBucketWebsiteOutput) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteOutput { s.ErrorDocument = v return s }

func (s *GetBucketWebsiteOutput) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteOutput

SetIndexDocument sets the IndexDocument field's value.



12856
12857
12858
12859
// File 'service/s3/api.go', line 12856

func (s *GetBucketWebsiteOutput) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteOutput { s.IndexDocument = v return s }

func (s *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *GetBucketWebsiteOutput

SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.



12862
12863
12864
12865
// File 'service/s3/api.go', line 12862

func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWebsiteOutput

SetRoutingRules sets the RoutingRules field's value.



12868
12869
12870
12871
// File 'service/s3/api.go', line 12868

func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWebsiteOutput { s.RoutingRules = v return s }

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



12836
12837
12838
// File 'service/s3/api.go', line 12836

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