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

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

Go to download

The Amazon Web Services SDK for Java provides Java APIs for building software on AWS' cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc).

The 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 - 2025 Weber Informatics LLC | Privacy Policy