Class ErrorDocument
java.lang.Object
software.amazon.awssdk.services.s3.model.ErrorDocument
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ErrorDocument.Builder,ErrorDocument>
@Generated("software.amazon.awssdk:codegen")
public final class ErrorDocument
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ErrorDocument.Builder,ErrorDocument>
The error information.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorDocument.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringkey()The object key name to use when a 4XX class error occurs.static Class<? extends ErrorDocument.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
key
The object key name to use when a 4XX class error occurs.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
- Returns:
- The object key name to use when a 4XX class error occurs.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ErrorDocument.Builder,ErrorDocument>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-