Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.amazonaws.services.s3.model;
 
 import java.util.List;
 
 public class WebsiteConfiguration {
         private String indexDocumentSuffix;
         private String errorDocument;
         private String redirectAllRequestsTo;
        private List<RoutingRuleroutingRules = new LinkedList<RoutingRule>();
        public void setIndexDocumentSuffix(String indexDocumentSuffix) {
        	this. = indexDocumentSuffix;
        }
        public String getIndexDocumentSuffix() {
        	return ;
        }
        public WebsiteConfiguration withIndexDocumentSuffix(String indexDocumentSuffix) {
        	this. = indexDocumentSuffix;
        	return this;
        }
        public void setErrorDocument(String errorDocument) {
    	   this. = errorDocument;
        }
        public String getErrorDocument() {
        	return ;
        }
        public WebsiteConfiguration witherrorDocument(String errorDocument) {
        	this. = errorDocument;
        	return this;
        }
        public void setRedirectAllRequestsTo(String redirectAllRequestsTo) {
        	this. = redirectAllRequestsTo;
        }
        public String getRedirectAllRequestsTo() {
        	return ;
        }
        public WebsiteConfiguration withRedirectAllRequestsTo(String redirectAllRequestsTo) {
        	this. = redirectAllRequestsTo;
        	return this;
        }
        public void setRoutingRules(List<RoutingRuleroutingRules) {
        	this. = routingRules;
        }
        public List<RoutingRulegetRoutingRule() {
        	return ;
        }
        public WebsiteConfiguration withRoutingRule(List<RoutingRuleroutingRules) {
        	this. = routingRules;
        	return this;
        }
New to GrepCode? Check out our FAQ X