Interface ObjectIdentifier.Builder

    • Method Detail

      • key

        ObjectIdentifier.Builder key​(String key)

        Key name of the object.

        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.

        Parameters:
        key - Key name of the object.

        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:
        Returns a reference to this object so that method calls can be chained together.
      • versionId

        ObjectIdentifier.Builder versionId​(String versionId)

        Version ID for the specific version of the object to delete.

        This functionality is not supported for directory buckets.

        Parameters:
        versionId - Version ID for the specific version of the object to delete.

        This functionality is not supported for directory buckets.

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

        ObjectIdentifier.Builder eTag​(String eTag)

        An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL. This header field makes the request method conditional on ETags.

        Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object.

        Parameters:
        eTag - An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource found at a URL. This header field makes the request method conditional on ETags.

        Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object.

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

        ObjectIdentifier.Builder lastModifiedTime​(Instant lastModifiedTime)

        If present, the objects are deleted only if its modification times matches the provided Timestamp.

        This functionality is only supported for directory buckets.

        Parameters:
        lastModifiedTime - If present, the objects are deleted only if its modification times matches the provided Timestamp.

        This functionality is only supported for directory buckets.

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

        ObjectIdentifier.Builder size​(Long size)

        If present, the objects are deleted only if its size matches the provided size in bytes.

        This functionality is only supported for directory buckets.

        Parameters:
        size - If present, the objects are deleted only if its size matches the provided size in bytes.

        This functionality is only supported for directory buckets.

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