Class DeletedObject
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeletedObject.Builder,DeletedObject>
Information about the deleted object.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletedObject.Builderbuilder()final BooleanIndicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion.final StringThe version ID of the delete marker created as a result of the DELETE operation.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringkey()The name of the deleted object.static Class<? extends DeletedObject.Builder>final StringtoString()Returns a string representation of this object.final StringThe version ID of the deleted 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 name of the deleted object.
- Returns:
- The name of the deleted object.
-
versionId
The version ID of the deleted object.
This functionality is not supported for directory buckets.
- Returns:
- The version ID of the deleted object.
This functionality is not supported for directory buckets.
-
deleteMarker
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker. To learn more about delete markers, see Working with delete markers.
This functionality is not supported for directory buckets.
- Returns:
- Indicates whether the specified object version that was permanently deleted was (true) or was not (false)
a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false)
the current version of the object is a delete marker. To learn more about delete markers, see Working with delete
markers.
This functionality is not supported for directory buckets.
-
deleteMarkerVersionId
The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
This functionality is not supported for directory buckets.
- Returns:
- The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific
object version, the value returned by this header is the version ID of the object version deleted.
This functionality is not supported for directory buckets.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeletedObject.Builder,DeletedObject>
-
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
-