Interface DeleteObjectResponse.Builder

  • Method Details

    • deleteMarker

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

      DeleteObjectResponse.Builder versionId(String versionId)

      Returns the version ID of the delete marker created as a result of the DELETE operation.

      This functionality is not supported for directory buckets.

      Parameters:
      versionId - Returns the version ID of the delete marker created as a result of the DELETE operation.

      This functionality is not supported for directory buckets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestCharged

      DeleteObjectResponse.Builder requestCharged(String requestCharged)
      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestCharged

      DeleteObjectResponse.Builder requestCharged(RequestCharged requestCharged)
      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: