public ListPartsRequest withExpectedBucketOwner(String expectedBucketOwner) {
        this.expectedBucketOwner = expectedBucketOwner;
        return this;
    }
Constructs a new ListPartsRequest from the required parameters bucket
name, key and upload ID.

<p>
When using this action with an access point, you must direct requests to the access point hostname. The
access point hostname takes the form
<i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action
with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the
bucket name. For more information about access point ARNs, see <a
href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a>
in the <i>Amazon S3 User Guide</i>.
</p>
<p>
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The
S3 on Outposts hostname takes the form
<code> <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>.
When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a
href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts</a> in the
<i>Amazon S3 User Guide</i>.
</p>

@param bucketName
           The name of the bucket, or access point ARN, containing the parts to list.
           <p>
           When using this action with an access point, you must direct requests to the access point hostname.
           The access point hostname takes the form
           <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this
           action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in
           place of the bucket name. For more information about access point ARNs, see <a
           href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access
           points</a> in the <i>Amazon S3 User Guide</i>.
           </p>
           <p>
           When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts
           hostname. The S3 on Outposts hostname takes the form
           <code> <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>.
           When you use this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts
           access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a
           href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts</a>
           in the <i>Amazon S3 User Guide</i>.
@param key
           The key of the associated multipart upload whose parts are
           being listed.
@param uploadId
           The ID of the multipart upload whose parts are being listed.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ListPartsRequest.java