Interface GetObjectTorrentRequest.Builder

    • Method Detail

      • bucket

        GetObjectTorrentRequest.Builder bucket​(String bucket)

        The name of the bucket containing the object for which to get the torrent files.

        Parameters:
        bucket - The name of the bucket containing the object for which to get the torrent files.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • key

        GetObjectTorrentRequest.Builder key​(String key)

        The object key for which to get the information.

        Parameters:
        key - The object key for which to get the information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestPayer

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

        GetObjectTorrentRequest.Builder requestPayer​(RequestPayer requestPayer)
        Sets the value of the RequestPayer property for this object.
        Parameters:
        requestPayer - The new value for the RequestPayer property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RequestPayer, RequestPayer
      • expectedBucketOwner

        GetObjectTorrentRequest.Builder expectedBucketOwner​(String expectedBucketOwner)

        The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

        Parameters:
        expectedBucketOwner - The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
        Returns:
        Returns a reference to this object so that method calls can be chained together.