@Generated(value="software.amazon.awssdk:codegen") public final class AwsS3BucketWebsiteConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3BucketWebsiteConfiguration.Builder,AwsS3BucketWebsiteConfiguration>
Website parameters for the S3 bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsS3BucketWebsiteConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsS3BucketWebsiteConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorDocument()
The name of the error document for the website.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRoutingRules()
For responses, this returns true if the service returned a value for the RoutingRules property.
|
String |
indexDocumentSuffix()
The name of the index document for the website.
|
AwsS3BucketWebsiteConfigurationRedirectTo |
redirectAllRequestsTo()
The redirect behavior for requests to the website.
|
List<AwsS3BucketWebsiteConfigurationRoutingRule> |
routingRules()
The rules for applying redirects for requests to the website.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsS3BucketWebsiteConfiguration.Builder> |
serializableBuilderClass() |
AwsS3BucketWebsiteConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String errorDocument()
The name of the error document for the website.
public final String indexDocumentSuffix()
The name of the index document for the website.
public final AwsS3BucketWebsiteConfigurationRedirectTo redirectAllRequestsTo()
The redirect behavior for requests to the website.
public final boolean hasRoutingRules()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AwsS3BucketWebsiteConfigurationRoutingRule> routingRules()
The rules for applying redirects for requests to the website.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRoutingRules() method.
public AwsS3BucketWebsiteConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsS3BucketWebsiteConfiguration.Builder,AwsS3BucketWebsiteConfiguration>public static AwsS3BucketWebsiteConfiguration.Builder builder()
public static Class<? extends AwsS3BucketWebsiteConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.