Interface DeletedObject.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DeletedObject.Builder,DeletedObject>
,SdkBuilder<DeletedObject.Builder,DeletedObject>
,SdkPojo
- Enclosing class:
- DeletedObject
public static interface DeletedObject.Builder extends SdkPojo, CopyableBuilder<DeletedObject.Builder,DeletedObject>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeletedObject.Builder
deleteMarker(Boolean deleteMarker)
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion.DeletedObject.Builder
deleteMarkerVersionId(String deleteMarkerVersionId)
The version ID of the delete marker created as a result of the DELETE operation.DeletedObject.Builder
key(String key)
The name of the deleted object.DeletedObject.Builder
versionId(String versionId)
The version ID of the deleted object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
key
DeletedObject.Builder key(String key)
The name of the deleted object.
- Parameters:
key
- The name of the deleted object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
DeletedObject.Builder versionId(String versionId)
The version ID of the deleted object.
This functionality is not supported for directory buckets.
- Parameters:
versionId
- The version ID of the deleted object.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteMarker
DeletedObject.Builder deleteMarker(Boolean 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.
This functionality is not supported for directory buckets.
- Parameters:
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.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteMarkerVersionId
DeletedObject.Builder deleteMarkerVersionId(String 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-