All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.amazonaws.services.s3.model.WebsiteConfiguration Maven / Gradle / Ivy

Go to download

The AWS Android SDK for Amazon S3 module holds the client classes that are used for communicating with Amazon Simple Storage Service

There is a newer version: 2.77.0
Show newest version
package com.amazonaws.services.s3.model;

import java.util.LinkedList;
import java.util.List;

public class WebsiteConfiguration {
        private String indexDocumentSuffix;
        private String errorDocument;
        private String redirectAllRequestsTo;
        private List routingRules = new LinkedList();

        public void setIndexDocumentSuffix(String indexDocumentSuffix) {
        	this.indexDocumentSuffix = indexDocumentSuffix;
        }

        public String getIndexDocumentSuffix() {
        	return indexDocumentSuffix;
        }

        public WebsiteConfiguration withIndexDocumentSuffix(String indexDocumentSuffix) {
        	this.indexDocumentSuffix = indexDocumentSuffix;
        	return this;
        }

        public void setErrorDocument(String errorDocument) {
    	   this.errorDocument = errorDocument;
        }

        public String getErrorDocument() {
        	return errorDocument;
        }

        public WebsiteConfiguration witherrorDocument(String errorDocument) {
        	this.errorDocument = errorDocument;
        	return this;
        }

        public void setRedirectAllRequestsTo(String redirectAllRequestsTo) {
        	this.redirectAllRequestsTo = redirectAllRequestsTo;
        }

        public String getRedirectAllRequestsTo() {
        	return redirectAllRequestsTo;
        }

        public WebsiteConfiguration withRedirectAllRequestsTo(String redirectAllRequestsTo) {
        	this.redirectAllRequestsTo = redirectAllRequestsTo;
        	return this;
        }

        public void setRoutingRules(List routingRules) {
        	this.routingRules = routingRules;
        }

        public List getRoutingRule() {
        	return routingRules;
        }

        public WebsiteConfiguration withRoutingRule(List routingRules) {
        	this.routingRules = routingRules;
        	return this;
        }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy