com.amazonaws.services.s3.model

## クラス CompleteMultipartUploadRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.s3.model.CompleteMultipartUploadRequest

-     public class CompleteMultipartUploadRequest
      extends AmazonWebServiceRequest

  Container for the parameters of the CompleteMultipartUpload operation.

  Required Parameters: BucketName, Key, UploadId, PartETags

  関連項目:
    `AmazonS3.completeMultipartUpload(CompleteMultipartUploadRequest)`

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `CompleteMultipartUploadRequest(java.lang.String bucketName, java.lang.String key, java.lang.String uploadId, java.util.List<PartETag> partETags)` Constructs a new request to complete a multipart upload.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getBucketName()` Returns the name of the bucket containing the multipart upload to complete.
    `java.lang.String` | `getKey()` Returns the key under which the multipart upload to complete is stored.
    `java.util.List<PartETag>` | `getPartETags()` Returns the list of part numbers and ETags that identify the individual parts of the multipart upload to complete.
    `java.lang.String` | `getUploadId()` Returns the ID of the multipart upload to complete.
    `void` | `setBucketName(java.lang.String bucketName)` Sets the name of the bucket containing the multipart upload to complete.
    `void` | `setKey(java.lang.String key)` Sets the key under which the multipart upload to complete is stored.
    `void` | `setPartETags(java.util.List<PartETag> partETags)` Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete.
    `void` | `setUploadId(java.lang.String uploadId)` Sets the ID of the multipart upload to complete.
    `CompleteMultipartUploadRequest` | `withBucketName(java.lang.String bucketName)` Sets the name of the bucket containing the multipart upload to complete, and returns this updated CompleteMultipartUploadRequest so that additional method calls can be chained together.
    `CompleteMultipartUploadRequest` | `withKey(java.lang.String key)` Sets the key under which the multipart upload to complete is stored, and returns this updated CompleteMultipartUploadRequest object so that additional method calls can be chained together.
    `CompleteMultipartUploadRequest` | `withPartETags(java.util.Collection<UploadPartResult> uploadPartResultsCollection)` Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete based on the specified results from part uploads.
    `CompleteMultipartUploadRequest` | `withPartETags(java.util.List<PartETag> partETags)` Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete, and returns this updated CompleteMultipartUploadRequest object so that additional method calls can be chained.
    `CompleteMultipartUploadRequest` | `withPartETags(UploadPartResult... uploadPartResults)` Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete based on the specified results from part uploads.
    `CompleteMultipartUploadRequest` | `withUploadId(java.lang.String uploadId)` Sets the ID of the multipart upload to complete, and returns this updated CompleteMultipartUploadRequest object so that additional method calls can be chained together.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### CompleteMultipartUploadRequest

          public CompleteMultipartUploadRequest(java.lang.String bucketName,
                                        java.lang.String key,
                                        java.lang.String uploadId,
                                        java.util.List<PartETag> partETags)

      Constructs a new request to complete a multipart upload.
      パラメータ:
        `bucketName` - The name of the bucket containing the multipart upload to complete.
        `key` - The key of the multipart upload to complete.
        `uploadId` - The ID of the multipart upload to complete.
        `partETags` - The list of part numbers and ETags to use when completing the multipart upload.

  - ### メソッドの詳細

    - #### getBucketName

          public java.lang.String getBucketName()

      Returns the name of the bucket containing the multipart upload to complete.
      戻り値:
        The name of the bucket containing the multipart upload to complete.

    - #### setBucketName

          public void setBucketName(java.lang.String bucketName)

      Sets the name of the bucket containing the multipart upload to complete.
      パラメータ:
        `bucketName` - The name of the bucket containing the multipart upload to complete.

    - #### withBucketName

          public CompleteMultipartUploadRequest withBucketName(java.lang.String bucketName)

      Sets the name of the bucket containing the multipart upload to complete, and returns this updated CompleteMultipartUploadRequest so that additional method calls can be chained together.
      パラメータ:
        `bucketName` - The name of the bucket containing the multipart upload to complete.
      戻り値:
        The updated CompleteMultipartUploadRequest.

    - #### getKey

          public java.lang.String getKey()

      Returns the key under which the multipart upload to complete is stored.
      戻り値:
        The key under which the multipart upload to complete is stored.

    - #### setKey

          public void setKey(java.lang.String key)

      Sets the key under which the multipart upload to complete is stored.
      パラメータ:
        `key` - The key under which the multipart upload to complete is stored.

    - #### withKey

          public CompleteMultipartUploadRequest withKey(java.lang.String key)

      Sets the key under which the multipart upload to complete is stored, and returns this updated CompleteMultipartUploadRequest object so that additional method calls can be chained together.
      パラメータ:
        `key` - The key under which the multipart upload to complete is stored.
      戻り値:
        This updated CompleteMultipartUploadRequest object.

    - #### getUploadId

          public java.lang.String getUploadId()

      Returns the ID of the multipart upload to complete.
      戻り値:
        The ID of the multipart upload to complete.

    - #### setUploadId

          public void setUploadId(java.lang.String uploadId)

      Sets the ID of the multipart upload to complete.
      パラメータ:
        `uploadId` - The ID of the multipart upload to complete.

    - #### withUploadId

          public CompleteMultipartUploadRequest withUploadId(java.lang.String uploadId)

      Sets the ID of the multipart upload to complete, and returns this updated CompleteMultipartUploadRequest object so that additional method calls can be chained together.
      パラメータ:
        `uploadId` - The ID of the multipart upload to complete.
      戻り値:
        This updated CompleteMultipartUploadRequest object.

    - #### getPartETags

          public java.util.List<PartETag> getPartETags()

      Returns the list of part numbers and ETags that identify the individual parts of the multipart upload to complete.
      戻り値:
        The list of part numbers and ETags that identify the individual parts of the multipart upload to complete.

    - #### setPartETags

          public void setPartETags(java.util.List<PartETag> partETags)

      Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete.
      パラメータ:
        `partETags` - The list of part numbers and ETags that identify the individual parts of the multipart upload to complete.

    - #### withPartETags

          public CompleteMultipartUploadRequest withPartETags(java.util.List<PartETag> partETags)

      Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete, and returns this updated CompleteMultipartUploadRequest object so that additional method calls can be chained.
      パラメータ:
        `partETags` - The list of part numbers and ETags that identify the individual parts of the multipart upload to complete.
      戻り値:
        This updated CompleteMultipartUploadRequest object.

    - #### withPartETags

          public CompleteMultipartUploadRequest withPartETags(UploadPartResult... uploadPartResults)

      Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete based on the specified results from part uploads.
      パラメータ:
        `uploadPartResults` - The list of results from the individual part uploads in the multipart upload to complete.
      戻り値:
        This updated CompleteMultipartUploadRequest object.

    - #### withPartETags

          public CompleteMultipartUploadRequest withPartETags(java.util.Collection<UploadPartResult> uploadPartResultsCollection)

      Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete based on the specified results from part uploads.
      パラメータ:
        `uploadPartResultsCollection` - The list of results from the individual part uploads in the multipart upload to complete.
      戻り値:
        This updated CompleteMultipartUploadRequest object.