com.amazonaws.services.glacier.model

## クラス InitiateMultipartUploadRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.glacier.model.InitiateMultipartUploadRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class InitiateMultipartUploadRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `InitiateMultipartUpload operation`.

  This operation initiates a multipart upload. Amazon Glacier creates a multipart upload resource and returns its ID in the response. The multipart upload ID is used in subsequent requests to upload parts of an archive (see UploadMultipartPart).

  When you initiate a multipart upload, you specify the part size in number of bytes. The part size must be a megabyte (1024 KB) multiplied by a power of 2-for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB.

  Every part you upload to this resource (see UploadMultipartPart), except the last one, must have the same size. The last one can be the same size or smaller. For example, suppose you want to upload a 16.2 MB file. If you initiate the multipart upload with a part size of 4 MB, you will upload four parts of 4 MB each and one part of 0.2 MB.

  NOTE: You don't need to know the size of the archive when you start a multipart upload because Amazon Glacier does not require you to specify the overall archive size.

  After you complete the multipart upload, Amazon Glacier removes the multipart upload resource referenced by the ID. Amazon Glacier also removes the multipart upload resource if you cancel the multipart upload or it may be removed if there is no activity for a period of 24 hours.

  An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM) .

  For conceptual information and underlying REST API, go to Uploading Large Archives in Parts (Multipart Upload) and Initiate Multipart Upload in the Amazon Glacier Developer Guide .

  関連項目:
    `AmazonGlacier.initiateMultipartUpload(InitiateMultipartUploadRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `InitiateMultipartUploadRequest()` Default constructor for a new InitiateMultipartUploadRequest object.
    `InitiateMultipartUploadRequest(java.lang.String vaultName, java.lang.String archiveDescription, java.lang.String partSize)` Constructs a new InitiateMultipartUploadRequest object.
    `InitiateMultipartUploadRequest(java.lang.String accountId, java.lang.String vaultName, java.lang.String archiveDescription, java.lang.String partSize)` Constructs a new InitiateMultipartUploadRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAccountId()` The `AccountId` is the AWS Account ID.
    `java.lang.String` | `getArchiveDescription()` The archive description that you are uploading in parts.
    `java.lang.String` | `getPartSize()` The size of each part except the last, in bytes.
    `java.lang.String` | `getVaultName()` The name of the vault.
    `int` | `hashCode()`
    `void` | `setAccountId(java.lang.String accountId)` The `AccountId` is the AWS Account ID.
    `void` | `setArchiveDescription(java.lang.String archiveDescription)` The archive description that you are uploading in parts.
    `void` | `setPartSize(java.lang.String partSize)` The size of each part except the last, in bytes.
    `void` | `setVaultName(java.lang.String vaultName)` The name of the vault.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InitiateMultipartUploadRequest` | `withAccountId(java.lang.String accountId)` The `AccountId` is the AWS Account ID.
    `InitiateMultipartUploadRequest` | `withArchiveDescription(java.lang.String archiveDescription)` The archive description that you are uploading in parts.
    `InitiateMultipartUploadRequest` | `withPartSize(java.lang.String partSize)` The size of each part except the last, in bytes.
    `InitiateMultipartUploadRequest` | `withVaultName(java.lang.String vaultName)` The name of the vault.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

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

    - #### InitiateMultipartUploadRequest

          public InitiateMultipartUploadRequest()

      Default constructor for a new InitiateMultipartUploadRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### InitiateMultipartUploadRequest

          public InitiateMultipartUploadRequest(java.lang.String vaultName,
                                        java.lang.String archiveDescription,
                                        java.lang.String partSize)

      Constructs a new InitiateMultipartUploadRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `vaultName` - The name of the vault.
        `archiveDescription` - The archive description that you are uploading in parts.

        The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

        `partSize` - The size of each part except the last, in bytes. The last part can be smaller than this part size.

    - #### InitiateMultipartUploadRequest

          public InitiateMultipartUploadRequest(java.lang.String accountId,
                                        java.lang.String vaultName,
                                        java.lang.String archiveDescription,
                                        java.lang.String partSize)

      Constructs a new InitiateMultipartUploadRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `accountId` - The `AccountId` is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.
        `vaultName` - The name of the vault.
        `archiveDescription` - The archive description that you are uploading in parts.

        The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

        `partSize` - The size of each part except the last, in bytes. The last part can be smaller than this part size.

  - ### メソッドの詳細

    - #### getAccountId

          public java.lang.String getAccountId()

      The `AccountId` is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.
      戻り値:
        The `AccountId` is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.

    - #### setAccountId

          public void setAccountId(java.lang.String accountId)

      The `AccountId` is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.
      パラメータ:
        `accountId` - The `AccountId` is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.

    - #### withAccountId

          public InitiateMultipartUploadRequest withAccountId(java.lang.String accountId)

      The `AccountId` is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.

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

      パラメータ:
        `accountId` - The `AccountId` is the AWS Account ID. You can specify either the AWS Account ID or optionally a '-', in which case Amazon Glacier uses the AWS Account ID associated with the credentials used to sign the request. If you specify your Account ID, do not include hyphens in it.

    - #### getVaultName

          public java.lang.String getVaultName()

      The name of the vault.
      戻り値:
        The name of the vault.

    - #### setVaultName

          public void setVaultName(java.lang.String vaultName)

      The name of the vault.
      パラメータ:
        `vaultName` - The name of the vault.

    - #### withVaultName

          public InitiateMultipartUploadRequest withVaultName(java.lang.String vaultName)

      The name of the vault.

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

      パラメータ:
        `vaultName` - The name of the vault.

    - #### getArchiveDescription

          public java.lang.String getArchiveDescription()

      The archive description that you are uploading in parts.

      The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

      戻り値:
        The archive description that you are uploading in parts.

        The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

    - #### setArchiveDescription

          public void setArchiveDescription(java.lang.String archiveDescription)

      The archive description that you are uploading in parts.

      The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

      パラメータ:
        `archiveDescription` - The archive description that you are uploading in parts.

        The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

    - #### withArchiveDescription

          public InitiateMultipartUploadRequest withArchiveDescription(java.lang.String archiveDescription)

      The archive description that you are uploading in parts.

      The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

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

      パラメータ:
        `archiveDescription` - The archive description that you are uploading in parts.

        The part size must be a megabyte (1024 KB) multiplied by a power of 2���for example, 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

    - #### getPartSize

          public java.lang.String getPartSize()

      The size of each part except the last, in bytes. The last part can be smaller than this part size.
      戻り値:
        The size of each part except the last, in bytes. The last part can be smaller than this part size.

    - #### setPartSize

          public void setPartSize(java.lang.String partSize)

      The size of each part except the last, in bytes. The last part can be smaller than this part size.
      パラメータ:
        `partSize` - The size of each part except the last, in bytes. The last part can be smaller than this part size.

    - #### withPartSize

          public InitiateMultipartUploadRequest withPartSize(java.lang.String partSize)

      The size of each part except the last, in bytes. The last part can be smaller than this part size.

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

      パラメータ:
        `partSize` - The size of each part except the last, in bytes. The last part can be smaller than this part size.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`