Java com.amazonaws.services.s3.model BucketWebsiteConfiguration fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.s3.model BucketWebsiteConfiguration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.s3.model BucketWebsiteConfiguration.

The text is from its open source code.

Constructor

BucketWebsiteConfiguration()
Creates a new BucketWebsiteConfiguration.
BucketWebsiteConfiguration(String indexDocumentSuffix, String errorDocument)
Creates a new BucketWebsiteConfiguration with the specified index document suffix and error document.
BucketWebsiteConfiguration(String indexDocumentSuffix)
Creates a new BucketWebsiteConfiguration with the specified index document suffix.

Method

StringgetErrorDocument()
Returns the complete path to the document to serve for 4xx errors, or null if no error document has been configured.
StringgetIndexDocumentSuffix()
Returns the document to serve when a directory is specified (ex: index.html).
voidsetErrorDocument(String errorDocument)
Sets the complete path to the document to serve for 4xx errors.
voidsetIndexDocumentSuffix(String indexDocumentSuffix)
Sets the document to serve when a directory is specified (ex: index.html).
voidsetRedirectAllRequestsTo(RedirectRule redirectAllRequestsTo)
Sets the redirect information where all requests will be redirect to.
voidsetRoutingRules(List routingRules)
Set the list of routing rules that can be used for configuring redirects if certain conditions are meet.