Interface GetObjectTorrentRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetObjectTorrentRequest.Builder,GetObjectTorrentRequest>, S3Request.Builder, SdkBuilder<GetObjectTorrentRequest.Builder,GetObjectTorrentRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetObjectTorrentRequest

public static interface GetObjectTorrentRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<GetObjectTorrentRequest.Builder,GetObjectTorrentRequest>
  • Method Details

    • 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

      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

      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:
    • expectedBucketOwner

      GetObjectTorrentRequest.Builder expectedBucketOwner(String expectedBucketOwner)

      The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).

      Parameters:
      expectedBucketOwner - The account ID of the expected bucket owner. If the bucket is owned by a different account, 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.
    • overrideConfiguration

      GetObjectTorrentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.