Interface DeletedObject.Builder

    • 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.