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



12996
12997
12998
// File 'service/s3/api.go', line 12996

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

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

SetErrorDocument sets the ErrorDocument field’s value.



13001
13002
13003
13004
// File 'service/s3/api.go', line 13001

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.



13007
13008
13009
13010
// File 'service/s3/api.go', line 13007

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.



13013
13014
13015
13016
// File 'service/s3/api.go', line 13013

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

SetRoutingRules sets the RoutingRules field’s value.



13019
13020
13021
13022
// File 'service/s3/api.go', line 13019

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



12987
12988
12989
// File 'service/s3/api.go', line 12987

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