main.java.com.amazonaws.services.s3.model.WebsiteConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-android-sdk-s3 Show documentation
Show all versions of aws-android-sdk-s3 Show documentation
The AWS Android SDK for Amazon S3 module holds the client classes that are used for communicating with Amazon Simple Storage Service
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;
}
}