@Generated(value="software.amazon.awssdk:codegen") public final class WebsiteConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebsiteConfiguration.Builder,WebsiteConfiguration>
Specifies website configuration parameters for an Amazon S3 bucket.
Modifier and Type | Class and Description |
---|---|
static interface |
WebsiteConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static WebsiteConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorDocument |
errorDocument()
The name of the error document for the website.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IndexDocument |
indexDocument()
The name of the index document for the website.
|
RedirectAllRequestsTo |
redirectAllRequestsTo()
The redirect behavior for every request to this bucket's website endpoint.
|
List<RoutingRule> |
routingRules()
Rules that define when a redirect is applied and the redirect behavior.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WebsiteConfiguration.Builder> |
serializableBuilderClass() |
WebsiteConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public ErrorDocument errorDocument()
The name of the error document for the website.
public IndexDocument indexDocument()
The name of the index document for the website.
public RedirectAllRequestsTo redirectAllRequestsTo()
The redirect behavior for every request to this bucket's website endpoint.
If you specify this property, you can't specify any other property.
If you specify this property, you can't specify any other property.
public List<RoutingRule> routingRules()
Rules that define when a redirect is applied and the redirect behavior.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public WebsiteConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<WebsiteConfiguration.Builder,WebsiteConfiguration>
public static WebsiteConfiguration.Builder builder()
public static Class<? extends WebsiteConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.