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

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

There is a newer version: 2.9.1
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 - 2025 Weber Informatics LLC | Privacy Policy